JA
jamesb
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
AD
Administrator
Syncfusion Team
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
JA
jamesb
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.