|Categories||Question details Back To List|
tabbar with grid more rows issue having issue
I am using dhtmlx tabbar with grid control latest version.
2 Tabs in a tabbar, search criteria in first tab, and second tab results in a grid control, search result may be more than 10000 rows, but initially we are loading 100 rows to grid control and up on user requirement (get more rows), we are appending 500 rows to grid control (initial 100 rows + 500 rows) more untill we reach 10000 rows.
After adding 2000 rows, switching between tabs is really slow, you can guess for 10000 rows. Is there any way i can fix the issue ?
Answer posted by Alex (support) on Jan 22, 2010 08:12
you can use dynamic Smart Rendering to improve performance in grid:
Answer posted on Jan 22, 2010 10:26
this is my function to create grid control.
first time loading
When user click on load more rows appending result rows to grid usnig followiong code.
After loading 1000 to 2000 rows, when i swich between tabs, its really really slow. Max i have to load 10000 rows.
Answer posted by Alex (support) on Jan 23, 2010 03:03
try to comment SearchGrid.enableDistributedParsing(true, 30, 10); call:
//SearchGrid.enableDistributedParsing(true, 30, 10);
There is no need to use Distributed Parsing in case of Smart Rendering.
Moreover it is better to use Dynamic Smart Rendering. It seems that you load all rows at once (Static Smart Rendering). Please see the sample and article that I mentioned in the previous answer.