Hi Yunus,
Thanks for contacting
syncfusion forum.
Query: As the row count
gets higher, the tree grid's response gets slower when expanding or collapsing
rows.
On
further validating on your shared sample, you are using the nearly 250 records
without enabling the paging. In RowDataBound and QueryCellInfo events you are customizing the rows and cells. Without
enabling the paging, more
number of cells rendered in a single page(including template column and
customization of cells), so it will take some delay to expanding or collapsing
the treegrid. So, we suggest that you use an allowPaging
property to overcome the reported problem. Using treegrid paging to fetch only
a pre-defined number of records from the data source. It will help to improve
the performance.
Please refer to the below help documentation,
https://blazor.syncfusion.com/documentation/treegrid/paging
Please refer to the below demo,
https://blazor.syncfusion.com/demos/tree-grid/paging?theme=fluent
Please refer to the below API documentation,
https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_AllowPaging
Kindly get back to us for further assistance.
Regards,
Pon
selva
If this post is helpful, please consider
Accepting it as the solution so that other members can locate it more quickly.