Gets the width of the specified grid column.
Namespace: MindFusion.DataViews
File: Grid.js
JavaScript Copy Code |
---|
function getColumnWidth (column) |
Number. The column index.
Number. The width in pixels.
The following code gets the width of the first column in a Grid instance:
JavaScript Copy Code |
---|
if(grid.getColumnWidth(0) > 100) { //do something } |
JavaScript Pack Programmer's Guide | © 2024 MindFusion |