ADAdministrator Syncfusion Team October 1, 2004 02:37 AM
The droparea is actually a little grid. And these text entries are being set in the model.OnQueryCellInfo method for that grid.
So, for now, to change these values, you have to derive this model class and override its OnQueryCellInfo. (In the future, maybe we can do something to make this easier - allowing an event that you could handle to set them - but for now, you have to subclass the model.)
Here is a little sample showing how you can do it.
ADAdministrator Syncfusion Team October 1, 2004 05:47 AM
It turns out you can also do this by handling the GridGroupDropArea''s PrepareViewStyleInfo event. This would not require deriving the model.
Here is a sample
ADAdministrator Syncfusion Team October 1, 2004 10:45 AM
I used your sample code in GridGroupDropArea''s PrepareViewStyleInfo . Now my program works well.
I prefer this way rather than the model way.
Thank you for help.
>It turns out you can also do this by handling the GridGroupDropArea''s PrepareViewStyleInfo event. This would not require deriving the model.
>Here is a sample
PPPravin Patel April 24, 2007 01:52 PM
How can I change Grid Group Drop Area bakground color.
HAhaneefm Syncfusion Team April 24, 2007 02:29 PM
The droparea is a little grid. So, you can handle its PrepareViewStyleInfo event, and explicitly set a backcolor there.
this.gridGroupingControl1.GridGroupDropArea.PrepareViewStyleInfo += new GridPrepareViewStyleInfoEventHandler(GridGroupDropArea_PrepareViewStyleInfo);