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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridFloatCellsMode.BeforeDisplayCalculation performance

Thread ID:

Created:

Updated:

Platform:

Replies:

124783 Jun 29,2016 08:47 PM UTC Jun 30,2016 01:11 PM UTC Windows Forms 1
loading
Tags: GridControl
Rodrigo Vedovato
Asked On June 29, 2016 08:47 PM UTC

Hi everyone!

Here's my scenario: I have a virtual grid that is updated in a high frequency and needs to support floating cells. If I set FloatingCellsMode to GridFloatCellsMode.BeforeDisplayCalculation, everything works as expected, but (in CPU terms) setting the FloatingCellsMode property to OnDemandCalculation is 10x faster.

I solved some issues by, when a cell is updated, calling the FloatingCells.DelayFloatCells and FloatingCells.EvaluateFloatingCells respectively before and after updating the cell, but some scenarios still have problems.

The question is: in a high frequency update scenario, is OnDemandCalculation really the only option or is there any way to make BeforeDisplayCalculation faster?

Regards,
Rodrigo

Amal Raj Umapathy Selvam [Syncfusion]
Replied On June 30, 2016 01:11 PM UTC

Hi Rodrigo, 

Thanks for using Syncfusion products. 

The mentioned performance difference between OnDemandCalculation and BeforeDisplayCalculation is the expected behavior. BeforeDisplayCalculation is used to force the float cells to always be calculated, but OnDemandCalculation mode calculates the float cells only when any changes are done to that cells, so performance difference between these properties are expected. We suggest you to use OnDemandCalculation mode for updating grid in high frequency. 
 
 Please refer to the below UG link for further references. 
 
 
Regards, 
Amal Raj U. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;