ADAdministrator Syncfusion Team August 11, 2005 08:54 PM
One way you can do this is to use the QueryCellStyleInfo event. Here is a little sample.
SLSalvatore LentiniAugust 15, 2005 02:49 PM
This doesn''t seem to work in ASP.net -- is this true?
>One way you can do this is to use the QueryCellStyleInfo event. Here is a little sample.
ADAdministrator Syncfusion Team August 16, 2005 12:36 PM
Yes, it is possible to do what you are seeking by using Templates. Here is a modified version of the Skins sample that demonstrates this.
Right click on the GridControl in the Design mode and choose Edit Template -> Item Templates and edit the GroupCaptionTemplate by adding a checkbox and a label. Right click again and choose End Template Editing. The text for the label is set using the GetLabelText method shown below:
protected string GetLabelText(GridCell container)
GridCaptionRow gcrow = (GridCaptionRow)container.RowElement;
Group group = gcrow.ParentGroup;
Here is the modified version of the sample (You can unzip this to the Grid.Grouping.Web\samples\1.1\LookAndFeel\Skins\cs folder).
Kindly update incident 20422 if you have any further questions.
ADAdministrator Syncfusion Team August 16, 2005 12:40 PM
The sample posted in the previous posting uses Essential Studio 3.3. I posted download instructions for the Essential Studio 3.3 in incident 20422.