Wijmo UI for the Web
allowVirtualScrolling Field
wijmo.grid.wijgrid Namespace > options type : allowVirtualScrolling Field

Indicate whether to enable the virtual scrolling feature. To improve efficiency, set this option to true when using large amounts of data without paging. Obsoleted, use the scrollingSettings.virtualization.mode option instead.

Default value: false

Type: Boolean

 

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijgrid("option", "allowVirtualScrolling");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijgrid("option", "allowVirtualScrolling", newValue);
        
});
var allowVirtualScrolling : boolean;
Example
$("#element").wijgrid({ allowVirtualScrolling: true });
Remarks

This feature executes Ajax requests to load and refresh data a few rows or columns ahead of the user's scrolling to provide a smooth scrolling experience when you display large amouns of data without paging. It is demonstrated in the Virtual Scrolling sample.

This option is ignored if the grid uses paging, columns merging or fixed rows. This option cannot be enabled when using dynamic wijdatasource. 

See Also

Reference

options type
scrollMode Option
allowPaging Option
wijgrid jQuery Widget