SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.rowChangeDelay  property

If set the value as greater than 0, even if the location of current row is changed, Change Event will not be fired immediately but after a specified period of time since the previous event. 

It is specified in milliseconds. 

Defaults to 0.

Getter
function rowChangeDelay(): Integer
Setter
function setRowChangeDelay(value: Integer)
Code -1
    grid.setOptions({
        display: {
            rowChangeDelay: 500
        }
    });
Code -2
    grid.setDisplayOptions({
        rowChangeDelay: 500
    });
Code -3
    grid.displayOptions().setRowChangeDelay(500);
See Also
GridBase.onCurrentRowChanged
Examples
Hello Grid
Focused Cell