SMART datagrid v.1 > Classes > CellStyleManager

Back  Forward

DataLudi.CellStyleManager.setStyleAt  method

将通过参数rowfield而指定的数据单元格,适用在被注册为styleIdCellStyle。 

如果在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
setStylesAt
CellStyle
Examples
单元格样式