четвъртък, 16 януари 2014 г.

JavaScript Grid Virtualization

In this blog entry, we look at the ShieldUI Grid Virtualiation options. 
Virtualization is a mechanism, which allows web controls, such as the Grid component, to load only a portion of the records, to which it is databound. These are all the records required for the current scroll. Since only a subset of the actual data is loaded, this presents the user with extremely good performance and allows excellent application responsiveness.
To enable the virtual scrolling mechanism of the grid control, one needs to use the scrolling property. This is demonstrated in the sample below:
scrolling: {
            virtual: true
           }

To see this setting in action, please refer to the following example. It demonstras virtualization of local data.
Naturally, virtualization can be utilized on remote data as well. This is demonsrated here.
An extreme use case allows the ShieldUI Grid to bind to one million records, as demonstrated in this example.

Няма коментари:

Публикуване на коментар