This is a migrated thread and some comments may be shown as answers.

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

1 Answer 70 Views
GridView
This is a migrated thread and some comments may be shown as answers.
muralidhar
Top achievements
Rank 1
muralidhar asked on 21 Feb 2012, 06:22 AM

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

1 Answer, 1 is accepted

Sort by
0
Boryana
Telerik team
answered on 23 Feb 2012, 01:20 PM
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 >>
Tags
GridView
Asked by
muralidhar
Top achievements
Rank 1
Answers by
Boryana
Telerik team
Share this question
or