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.

Changing GroupHeader style in GroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

19214 Sep 21,2004 07:46 AM Sep 21,2004 08:48 AM Windows Forms 1
loading
Tags: Grouping
Bert Lowry
Asked On September 21, 2004 07:46 AM

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.

Administrator [Syncfusion]
Replied On September 21, 2004 08:48 AM

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

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.

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.

;