Gets the width of the specified grid column.
Namespace: MindFusion.DataViews
File: Grid.js
SyntaxJavaScript
Copy Code
|
|---|
function getColumnWidth (column) |
Number. The column index.
Number. The width in pixels.
ExampleThe 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