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