SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.setColumnsProperty  method

Specify the property of all Columns contained in Grid at the same time. Like DLBase.setProperty, you can specify the property name by property path.  

Code -1
    grid.setColumnsProperty('width', 50);
    // Like DLBase.setProperty, you can specify the property path.
    grid.setColumnsProperty('header.styles.background', '#ffff00');
See Also
DLBase.setProperty
GridColumn