TreeGrid v6.0

Performance tips

TreeGrid documentation index

 

 

What to do if grid is too slow, the loading or rendering times are too long or even show Slow script message.

If everything is correctly set, every grid should be displayed in few seconds!

 

Use appropriate paging type when the grid contains many rows or columns:

 

Client root paging <Cfg Paging=’2’/>

                 Use when grid has more than 100 ~ 500 root rows

                 It renders the root pages on demand (on scroll)

                 Depending on column count set appropriate page length by <Cfg PageLength/>, default is 20.

                 You can set <Cfg MaxPages/> to render pages only up to this count and clear all unused pages

 

                  Client child paging <Cfg ChildPaging=’2’/>, default is on

                                   Use when grid has many collapsed rows with children

                                   It renders row children on first expand

                                   You can set <Cfg RemoveCollapsed=’2’/> to free the rendered children on row collapse.

 

                  Client child parts <Cfg ChildParts=’2’/>

 

                  Client column paging <Cfg ColPaging=’2’/>

 

                  Server root paging <Cfg Paging=’3’/>

 

                  Server child paging <Cfg ChildPaging=’3’/>

 

HTML code

 

Prepared