Search
Grid.getColumnWidth Method
See Also
 






Gets the width of the specified grid column.

Namespace: MindFusion.DataViews
File: Grid.js

 Syntax

JavaScript  Copy Code

function getColumnWidth (column)

 Parameters

column

Number. The column index.

 Return Value

Number. The width in pixels.

 Example

The following code gets the width of the first column in a Grid instance:

JavaScript  Copy Code
if(grid.getColumnWidth(0) > 100)
{
   //do something
}

 See Also