SMART datagrid v1.4 > Classes > RowIndicator

[ grids ver.1.2.9]   Back  Forward

DataLudi.RowIndicator.deletedStyles  property

데이터행의 상태DataRowState.DELETED인 행의 RowIndicator 상태셀을 그리는 데 사용되는 스타일셋

스타일셋에 GridStyles.iconIndex0 이상인 값이 설정되고, Row Indicator에 stateImageList가 지정되면 해당 아이콘이 표시된다. 또, shapeName을 지정해서 shape를 표시할 수도 있다. iconIndex가 shapeName보다 우선한다. 또, deletedLabel이 빈문자열이 아닌 값으로 지정되면 iconIndex, shapeName은 무시된다. 

이 스타일셋은 stateStyles 속성들을 내려받는다. 

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