SMART datagrid v.1 > Classes > RowIndicator

Back  Forward

DataLudi.RowIndicator.width  property

The width of Row indicator. 

It specifies the width which can be taken up by Row indicator in grid in pixels. If specify this value less than 0, it will calculate the length of maximum display number based on font of styles to automatically calculate the width. 

In any case, it will be displayed as the value between minWidth and maxWidth. If specify less than 0, this value will be ignored. 

Defaults to 0.

Getter
function width(): Integer
Setter
function setWidth(value: Integer)
Code -1
    grid.setOptions({
        rowIndicator: {
            width: 50
        }
    });
Code -2
    grid.rowIndicator().setWidth(50);    
See Also
minWidth
maxWidth
GridStyles
Examples
Row Indicator