Left Align Grouping Header Row

1 Answer 62 Views
GridView
Gaurav
Top achievements
Rank 1
Gaurav asked on 11 Jul 2023, 05:41 AM
In winform gridview grouping section, there is a placeholder "Drag a column here to group by this column."

It is center aligned. Is there any way I can move this to left aligned?

1 Answer, 1 is accepted

Sort by
1
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 13 Jul 2023, 11:54 AM

Hello, Gaurav,

To align the "Drag a column here to group by this column" text to the left, you can use the following code snippet: 

this.radGridView1.GridViewElement.GroupPanelElement.TextAlignment = ContentAlignment.MiddleLeft;

I hope this information helps. If you need any further assistance please don't hesitate to contact me.

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
GridView
Asked by
Gaurav
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or