SMART datagrid v.1 > Classes > RowIndicator

Back  Forward

DataLudi.RowIndicator.displayValue  property

The value which will be displayed in grid RowIndicator cell. 

It specifies by RowIndicatorValue constant. You can display Index or Data Index of grid row. 

Defaults to RowIndicatorValue.ROW_INDEX.

Getter
function displayValue(): RowIndicatorValue
Setter
function setDisplayValue(value: RowIndicatorValue)
Code -1
    grid.setRowIndicator({
        displayValue: DataLudi.RowIndicatorValue.DATA_INDEX,
        dataIndexBase: 1
    });
    // or
    grid.rowIndicator()
        .setDisplayValue(DataLudi.RowIndicatorValue.DATA_INDEX)
        .setDataIndexBase(1);    
See Also
RowIndicatorValue
rowIndexBase
dataIndexBase
Examples
Row Indicator