SMART datagrid v.1 > Classes > RowIndicator

Back  Forward

DataLudi.RowIndicator.dataIndexBase  property

The value of start index which will be displayed in RowIndicator cell when displayValue is DATA_INDEX

Although the index starts from 0 internally, you can set and display the start value differently by this property. When displayIndex is ROW_INDEX, the display start value is set by rowIndexBase

Defaults to 1.

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