We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

nested market simulation

I have a grid that has nested tables (each bound to a BindingList). The data is also changing constantly. It is basically a combination of the MasterDetail example and the MarkestSimulation example.

The grid takes up way to much CPU though. Before I added the nested table capability, the CPU was fine.

The tables do not necessarily need to be nested because they contain the same types of data objects, but one of the tables has rows that should be parents to the rows of the other table.

Any suggestions as to how I could improve the performance and/or get rid of the nested tables?

Thanks a lot

1 Reply

HA haneefm Syncfusion Team August 1, 2007 10:30 PM UTC

Hi Zach,

You can refer to the \Grid.Grouping.Windows\Samples\PerformanceSamples\ category sample for improving the performance in a GridGroupingGrid. Some of the sample listed below shows you to improve perfomance.

The EngineOptimizations sample( \Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\PerformanceSamples\EngineOptimizations )
- This sample will let you fill a grouping grid with a specified number of records and toggle various options that can affect the speed of the grid.

The GroupingPerf sample( \Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\PerformanceSamples\GroupingPerf )
- This sample demonstrates the VirtualMode and WithoutCounter optimization.

The GroupingTraderGridTest sample( \Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\PerformanceSamples\GroupingTraderGridTest )
- This sample demonstrates the frequent updates that occur in random cells across the grouping grid, while keeping the CPU usage at a minimum level. A timer changes cells in short intervals, inserts and removes rows.

The MarketSimulation sample( \Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\PerformanceSamples\MarketSimulation )
- This sample demonstrates how you can do faster data updates on grouping grids while keeping the CPU usage at a minimum level.

The ManualTotalSummaries sample( \Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\PerformanceSamples\ManualTotalSummaries )
- This sample features implementation of very simple summaries that can be updated by just applying the delta between the old and new value when a record was changed which allows for even faster updates for that specific kind of summary.

The RealtimeUpdates sample( \Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\PerformanceSamples\RealtimeUpdates )
- This sample shows you how to optimize the refreshing of individual cells or summaries when an underlying datasource is frequently changed

Best regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon