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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Changing GroupHeader style in GroupingControl

Thread ID:





19214 Sep 21,2004 11:46 AM UTC Sep 21,2004 12:48 PM UTC WinForms 1
Tags: Grouping
Bert Lowry
Asked On September 21, 2004 11:46 AM UTC

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 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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon