SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.liveScroll  property

If it is true, when dragging the vertical scroll bar, it will scroll the rows. 

If it is false, when completing the dragging, the rows will be displayed after being scrolled for the corresponding location. The horizontal scroll is set by horzLiveScroll property. 

Defaults to true.

Getter
function liveScroll(): Boolean
Setter
function setLiveScroll(value: Boolean)
Code -1
    grid.setOptions({
        display: {
            liveScroll: true
        }
    });
Code -2
    grid.setDisplayOptions({
        liveScroll: true
    });
Code -3
    grid.displayOptions().setLiveScroll(true);
See Also
horzLiveScroll
GridBase.hscrollBar
GridBase.vscrollBar
Examples
Hello Grid