How to pin the last column to right most side of the grid

2 posts, 0 answers
  1. muralidhar
    muralidhar avatar
    12 posts
    Member since:
    Jan 2011

    Posted 21 Feb 2012 Link to this post

    Hi,

     

    I am displaying the data in the grid in hierarchical fashion, here I have a requirement that that last column should always be fixed to the right most side of the grid, this is working fine when we are having more number of columns and we are getting a scroll bar at the bottom for the columns but it is not working fine when we have very less no of columns in the grid, the last column is moving to the left side.
    Could you please help me in this regard.

    Thanks & Regards

    Muralidhar

  2. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 23 Feb 2012 Link to this post

    Hello Muralidhar,

    Thank you for writing.

    This is the default behavior of RadGridView's pinned items. There is not a straightforward way to customize this behavior. My only suggestion is to set the AutoSizeColumnsMode property to Fill whenever the columns do not match the width of the control.

    Let me know if you have further questions.

    Kind regards,
    Boryana
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top