Hi,
The text in the columnbuttons of the columnchooser of a radgridview is aligned in the middle (see sreenshot).
My customer wants the text aligned on the left.
How can I achieve this?
2 Answers, 1 is accepted
0
Accepted
Svett
Telerik team
answered on 15 Oct 2012, 12:50 PM
Hi Wesley,
You should create a custom cell element to alter the default behavior of the column chooser, when is shown by the context menu. You can use the following code snippet:
public class CustomGridHeaderCellElement : GridHeaderCellElement
RadMenuItem menu = this.GetMenuItem(contextMenu, RadGridLocalizationProvider.CurrentProvider.GetLocalizedString(RadGridStringId.ColumnChooserMenuItem));
You’ve been asking for it and now it’s time for us to deliver. RadControls for WinForms Q3 2012 release is just around the corner. Sign up for a free webinar to see first all the latest enhancements.