Hi Team,
I am using Web hierarchical datagrid with initial data bind depth to -1. The relation of parent and child is displayed in code behind. The option to add child band in client side is also enabled using the row island property. I feel the slowness onload in the client sid(It is all inbuilt script and I don't have any code for my end to execute onload event).
Time stamp captured:
Parent Rows: 50 Child Rows: 262
Server time :00:00:04.62 Client side: 00:00:50.10
----------------------------------------------------Parent Rows: 50 Child Rows: 0
Server time :00:00:03.35Client side: 00:00:07.04
Nearly one minute for just 50rows is non tolerable. Please help me in this.
Regards,
Ahmed.
Hi Nikolay,
Thanks for looking into the issue. I have set the height as per page size and it displays scroll on the grid not on the browser. However I could see slight improvement, it used to take 50 seconds (just browser rendering time) on browser earlier and now it takes 49 seconds.
Please advice if there is anything to bring down the WebHierarchicalDataGrid rendering time to 5 to 10 seonds.
Regads,Ahmed
Hi Ahmed,
I would suggest you to set height for the grid. You can make it 100% of the screen and the only difference will be that the grid's scrollbar will be used instead of the browser's. But this should improve the performance.
Hope this helps.
The requirement is to show grid with all the parent rows expanded (expand all). So "set InitialExpandDepth to 0 " would not suffice the need.
On an average, we want to display 100 parent rows and each parent row will have 5 child rows, all together 600 (100 parent + 500 child) rows.
However we have tested with 50 parent rows and 5 child rows for each parent row and really surprised to see such poor performance on expand all. It takes 50 to 60 seconds just on browser (server time has been separated), please advise if there is a way to expand all faster either on server/client side.
Thanks,Ahmed
Hello,
I would suggest you to set InitialExpandDepth to 0 as it is taking a long time to render all the records. With the parents row collapsed, it is loading a lot faster.
Hi,
Could you please help me out in this. I could see that the delay is because of calling ExpandAll(). Is there any way to improve the performance.