SMART datagrid v.1 > Classes > RowIndicator

[ grids ver.1.2.9]   Back  Forward

DataLudi.RowIndicator.createdStyles  property

Style Set which is used to draw RowIndicator state cell of row in DataRowState.CREATED State of data row. 

If set GridStyles.iconIndex greater than 0 in style set and specify stateImageList in Row Indicator, the corresponding icon will be displayed. And, you can also specify shapeName to display shape. iconIndex takes precedence over shapeName. In addition, if specify createdLabel with a value not an empty string, iconIndex, shapeName will be ignored. 

This style set downloads stateStyles properties. 

Getter
function createdStyles(): GridStyles
Setter
function setCreatedStyles(value: Object)
Code -1
    grid.rowIndicator().setCreatedStyles({
        iconIndex: 0,
        // or
        shapeName: 'triangle'
        // or
        background: '#f00'
    });
See Also
updatedStyles
deletedStyles
stateStyles
createdLabel
deletedLabel
updatedLabel
stateVisible
stateImageList
DataRowState
GridRow.dataState
GridStyles.iconIndex
GridStyles.shapeName
Examples
State Cells
Data Row States