Search
ArrayModel.columnSortable Method
See Also
 






Gets a value, indicating whether the specified column can be sorted.

Namespace: MindFusion.DataViews
File: ArrayModel.js

 Syntax

JavaScript  Copy Code

function columnSortable (column)

 Parameters

column

Number. The column index.

 Return Value

Boolean. True if the specified column can be sorted, otherwise false.

 Example

The following code checks if the first column in a grid's model is sortable:

JavaScript  Copy Code
if(grid.model.columnSortable(0))
{
    //do something   
}

 See Also