SMART datagrid v.1 > Classes > CellStyle
DataLudi.CellStyle.button property
It returns the Button which is displayed in data cell.
- Getter
- function button(): CellButton
Code -1
grid.registerCellStyle('style01', {
"button": DataLudi.CellButton.ACTION,
"background": "#880000",
"color": "#ffffff"
});
- See Also
- CellButton
- editable
- readOnly
- GridBase.registerCellStyle
- GridBase.registerCellStyles
- GridBase.setCellStyle
- GridBase.setCellStyles
- GridBase.setCellStyleRows
- GridBase.clearCellStyles
- Examples
- Cell Styles
- Cell Buttons