SMART datagrid v.1 > Classes > GridBase
DataLudi.GridBase.rowIndicator property
RowIndicator object which has the property of area in which displays the row number or edit state.
- Getter
- function rowIndicator(): RowIndicator
- Setter
- function setRowIndicator(value: Object|RowIndicator)
- Note
- Calling Setter means to change the properties of internal RowIndicator object which has been created when initializing the grid rather than to change to a new object being transferred by parameter.
Code -1
grid.setRowIndicator({
displayValue: "rowIndex",
minWidth: 40
});
And, you can also specify the properties of Indicator object individually.
Code -2
var indicator = grid.rowIndicator();
indicator.setMinWidth(40);
indicator.setVisible(false);
- See also
- RowIndicator
- RowIndicatorValue
- stateBar
- checkBar
- Examples
- Row Indicator