SMART datagrid v.1 > Classes

Back  Forward

DataLudi.RowIndicator  class

The area in which displays the cells indicating the number of Grid Row or editing and data state. 

It is displayed vertically at the left end of grid. It is created when initializing grid, and can be visited by GridBase.rowIndicator property. You do not need to directly create this class object. 

Base Classes
VisualObject > GridObject > EventAware > DLBase
Constructor
function RowIndicator (grid: GridBase);
Properties
createdLabel
createdStyles
dataIndexBase
deletedLabel
deletedStyles
displayValue
indicatorVisible
maxWidth
minWidth
rowIndexBase
selectable
shapeVisible
stateImageList
stateStyles
stateVisible
stateWidth
updatedLabel
updatedStyles
width
Inherited Properties
GridObject.owner
VisualObject.styles
VisualObject.visible
Inherited Methods
EventAware.addListener
DLBase.assign
VisualObject.ctor
GridObject.ctor
DLBase.getProperties
DLBase.getProperty
EventAware.removeListener
DLBase.setProperties
DLBase.setProperty
DLBase.toggle

 

Code -1
    grid.setOptions({
        rowIndicator: {
            displayValue: DataLudi.RowIndicatorValue.DATA_INDEX,
            stateVisible: true,
            minWidth: 20
        }
    };
Code -2
    grid.setRowIndicator({
        displayValue: DataLudi.RowIndicatorValue.DATA_INDEX,
        stateVisible: true,
        minWidth: 20
    });
Code -3
    grid.rowIndicator()
        .setDisplayValue(DataLudi.RowIndicatorValue.DATA_INDEX)
        .setStateVisible(true)
        .setMinWidth(20);
See also
GridBase.rowIndicator
Examples
Row Indicator
State Cells