how to resize row number column

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

    Posted 08 Nov 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
    Admin
    Dilyan Traykov avatar
    368 posts

    Posted 10 Nov 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.

    Regards,
    Dilyan Traykov
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top