SMART datagrid v.1 > Classes > DisplayOptions

[ grids ver.1.3.2]   Back  Forward

DataLudi.DisplayOptions.horzLiveScroll  property

If it is true, when dragging the horizontal scroll bar, it will scroll the display contents. 

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

Defaults to true.

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