SMART datagrid v.1 > Classes > RowIndicator

[ grids ver.1.2.9]   Back  Forward

DataLudi.RowIndicator.updatedStyles  property

被用于绘制数据行的状态DataRowState.UPDATED的行的RowIndicator状态单元格的 样式组。 

如果在样式组设置GridStyles.iconIndex大于0的值,并且在行指示器指定stateImageList,就会显示相关图标。 而且,也可以通过指定shapeName,显示形状。 iconIndex优先于shapeName。 另外,如果将updatedLabel指定为非空字符串的值,iconIndex、shapeName就会被忽视。 

这个样式组下载stateStyles属性。 

Getter
function updatedStyles(): GridStyles
Setter
function setUpdatedStyles(value: Object)
Code -1
    grid.rowIndicator().setUpdatedStyles({
        iconIndex: 0,
        // 或
        shapeName: 'triangle'
        // 或
        background: '#f00'
    });
See Also
deletedStyles
updatedStyles
stateStyles
createdLabel
deletedLabel
updatedLabel
stateVisible
stateImageList
DataRowState
GridRow.dataState
GridStyles.iconIndex
GridStyles.shapeName
Examples
状态单元格
数据行状态