I'm Using igx-tree-grid in my angular application. I am getting around 1200 records from the API and forming a tree with children. On the initial load the grid is very slow and unresponsive for the vertical scroll.
RowHeight is changed(25px).
Total around 15 columns. 10 columns have cellClasses
P.S I don't need pagination
Thanks for help.
Hello,
I have been looking into your question and prepared a small sample based on the provided details, however, on my side, everything seems to work as expected and there is no issue while the grid is rendered initially.
Here could be found my sample for your reference. Please test it on your side and let me know how it behaves. If this is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me along with steps to reproduce.
In addition, a topic that you might consider useful could be found here.
Thank you for your cooperation.
Looking forward to hearing from you.
Sincerely,Teodosia HristodorovaSoftware Developer
Hi Teodosia,
Thanks for your reply. We have given the grid height to be "null" I think this is the issue with the performance. When I give fixed height and verified then it looks good.
Do you think we need to specify height in order to enable virualization?
Thanks
I'm glad that you managed to achieve your requirement.
As it is mentioned into the previously provided topic IgxTreeGrid's width and height defaults to 100% which will enable virtualization if the content displayed cannot fit inside the available space and scrollbars are required either vertically or horizontally. Having this in mind, what I could say is that if height is not set it will take its default value.
Let me know if I may be of any further assistance.