SMART datagrid v.1 > Classes > GridBase
グリッドの設定オプションと構成要素のプロパティーを一気に設定する。
パラメーターsourceに指定された displayOptions、editOptions、operateOptionsオプションたちのプロパティーたちと、 checkBar、rowIndicator等の構成要素を一気に設定することができる。 下の客体構造にプロパティーの名前が羅列になっている。
また、このメッソドの内でgrid.setPropertiesを呼び出ししてるので下のように指定することもできる。
grid.setOptions({
display: {
rowResizable: true
},
edit: {
editable: false
},
operate: {
sortingEnabled: true
},
"rowIndicator.width": 30,
"header.styles.background": "#ff0000"
});