Changing GroupHeader style in GroupingControl

Right now, the group header rows in my GroupingControl look like row-long buttons. That is to say, they look similar to the column headers. Is there a way to make them look more like regular grid rows? I''m trying to mimic the look that the Janus grid has when grouping.

1 Reply

AD Administrator Syncfusion Team September 21, 2004 12:48 PM UTC

Hi Bert, You can create your own cell type, derive it from GridHeaderCellRenderer/GridHeaderCellModel and register it with groupingControl.TableModel.CellModels, e.g. as "MyCaption" cell type. Then you can assign that celltype to groupingControl.Appearance.GroupCaptionCell.CellType = "MyCaption". In your derived cell type you can add a button override OnDraw and do your own custom drawing for the caption cell. Stefan

Loader.
Up arrow icon