Gets the display text of the specified column.
Namespace: MindFusion.DataViews
File: ArrayModel.js
JavaScript Copy Code |
---|
function columnCaption (column) |
Number. The column index.
String. The display text.
The following code checks the caption of the second column in a Grid:
JavaScript Copy Code |
---|
if(grid.model.columnCaption(1) != "Name") { //do something } |