Search
ArrayModel.columnCaption Method
See Also
 






Gets the display text of the specified column.

Namespace: MindFusion.DataViews
File: ArrayModel.js

 Syntax

JavaScript  Copy Code

function columnCaption (column)

 Parameters

column

Number. The column index.

 Return Value

String. The display text.

 Example

The 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