Is it possible to resize a row number column (the first column) like other columns?
please reply it!
1 Answer, 1 is accepted
0
Dilyan Traykov
Telerik team
answered on 10 Nov 2016, 01:02 PM
Hello ,
I'm afraid that there's no straightforward way to achieve the desired behavior as the row indicator I believe you're referring to is technically not a column and thus, cannot be resized at runtime.
What I can suggest, however, is to set RadGridView's RowIndicatorVisibility to False, create a new GridViewColumn as the grid's first column and define a custom CellTemplate in which to mimic the look of the row indicator. You can find the default PART_IndicatorPresenter border element in the control template of the GridViewRow control which is located in Telerik.Windows.Controls.GridView.xaml of the respective theme inside your UI for WPF installation folder under Themes.Implicit.
Please let me know whether such an approach would work for you.
Regards,
Dilyan Traykov
Telerik by Progress
Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!