how to resize row number column

2 posts, 0 answers
  1. eunji
    eunji avatar
    16 posts
    Member since:
    Nov 2016

    Posted 08 Nov 2016 Link to this post

    Hi there,

    Is it possible to resize a row number column (the first column) like other columns?

    please reply it!


  2. Dilyan Traykov
    Dilyan Traykov avatar
    613 posts

    Posted 10 Nov 2016 Link to this post

    Hello eunji,

    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.

    Dilyan Traykov
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
Back to Top