SMART datagrid v.1 > Classes > CellStyleManager

Back  Forward

DataLudi.CellStyleManager.setStyleAt  method

パラメーターrowfieldで指定されるデータセルを styleIdで登録されているCellStyleで適用させる。 

fieldに0より小さい値を指定すれば行のすべてのセルに適用される。 また、rowに0より小さい値を指定すれば追加される行に適用される。 

function setStyleAt (row: Integer, field: Integer|String, styleId: String);
Returns
Void
Parameters
row - Integer. required.
field - Integer|String. required.
styleId - String. required.
See Also
setStyles
CellStyle
Examples
Cell Styles