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

many QueryCellStyleInfo event raisede on column resize or mouse move

Thread ID:

Created:

Updated:

Platform:

Replies:

48732 Sep 4,2006 08:27 AM UTC Sep 4,2006 02:22 PM UTC Windows Forms 3
loading
Tags: Grouping
jamesb
Asked On September 4, 2006 08:27 AM UTC

I noticed that the QueryCellStyleInfo event is being raised many times when the ggc is resize or the mouse is mouve over the grid. What gives?

jamesb
Replied On September 4, 2006 08:54 AM UTC

doing this ...

int count = this.gridGroupingControl.TableDescriptor.VisibleColumns.Count;

before assigning Summary column seem to have fix it...

Strange

Administrator [Syncfusion]
Replied On September 4, 2006 09:28 AM UTC

Hi James,

The QueryCellStyleInfo is called whenever the grid needs a cell style for any reason. It should not be called for every cell if only one cell is changed from code. But if you move your mouse over the grid, it will be called as the mouse moves (the grid needs the cell style to do hittesting). Or, if you call Refresh or Invalidate then QueryCellIStylenfo would be hit more.

Let me know if this helps.
Best Regards,
Haneef

jamesb
Replied On September 4, 2006 02:22 PM UTC

Clicking the +- button to expand the grid causes it to be raise; should that happen? Are the any best practise for make this optimizable? is just seems to be that this would cause some major perf issue.

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

;