Loading time of nested C1Datagrids

Posted by: mayur.purandare on 8 October 2023, 9:49 pm EST

  • Posted 8 October 2023, 9:49 pm EST

    Hello Component One Team,

    We are using nested C1Datagrids to show child records.

    We are experiencing a considerable delay in expanding a row which is having 250 sub-records (About 3 to 5 seconds).

    However, the data which is bound to the grid has already been prepared and not at the time of loading.

    We tried VirtualizingStackPanel.VirtualizationMode=“Recycling” and VirtualizingStackPanel.IsVirtualizing=“True” but found no change in loading time.

    We tried setting “IsAsync = True” to item source of child grid which drastically improved loading time of parent grid but child grid loads after same time (About 3 to 5 seconds).

    Please let us know if there is any other way/option to address this?

  • Posted 10 October 2023, 11:10 am EST

    Hi Mayur,

    C1DataGrid is a legacy control and is not under active development. Therefore, we recommend users to upgrade to the C1FlexGrid control to avail the latest updates and benefits.

    In your use-case scenario, the child grid is rendered completely and therefore, row details takes a lot of time to get opened. Therefore, we would suggest you set the child grid inside a ScrollViewer and then, set the height of the ScrollViewer and child grid to save the unnecessary time it takes to render the whole child grid.

    Kindly refer to the attached sample for full implementation. SeeNestedDG.zip

    Additionally, please note that we did not observe this performance issue with the nested flexgrid control as it supports virtualization.

    Thanks & Regards,

    Aastha

  • Posted 10 October 2023, 7:08 pm EST

    Hello Aastha,

    Thanks for the reply.

    We will check.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels