How do I customize the GridGroupExpanderCell?

1 Answer 57 Views
GridView
Henri
Top achievements
Rank 2
Iron
Iron
Iron
Henri asked on 19 Sep 2024, 12:06 AM

I am using the VisualStudio2022Light theme. I am not able to change the SignStyle of the Expander in a RadGridView.

Here it is the code.

This is the result. Both signs are there.
  

1 Answer, 1 is accepted

Sort by
0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 23 Sep 2024, 11:56 AM

Hi Henri,

Thank you for reaching out to us.

By default, the GridExpanderItem arrow is represented by a Glyphs icon set to the Text property. That is why setting the SignStyle to Triangle, you observe 2 icons. To remove the default only, you can try setting the DrawText property of the Expander to false.

// you code
. . . . . . .
expanderCell.Expander.SignStyle = SignStyles.Triangle
expanderCell.Expander.DrawText = False
. . . . . .

Here is the result:

 

Regards,
Dinko | Tech Support Engineer
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
Henri
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or