SMART datagrid v.1 > Classes > GridBase
Set the properties of grid setting option and component at the same time.
You can set the properties of displayOptions, editOptions, operateOptions options specified in parameter source and components of checkBar, rowIndicator at the same time. In the object structure below, it has listed the property names.
In addition, since grid.setProperties is being called within this method, you can also specify as below.
grid.setOptions({
display: {
rowResizable: true
},
edit: {
editable: false
},
operate: {
sortingEnabled: true
},
"rowIndicator.width": 30,
"header.styles.background": "#ff0000"
});