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

[Solved] Stop certain columns from resizing or reordering

1 Answer 190 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 25 Jan 2010, 08:36 PM
Hi All,

Is there a way to only have certain columns resize and reorder? (or really, not have certain columns resize or reorder?)

I have a grid with a checkbox at the left most column, then another column that is say, ORDER #. These should be static in size and frozen. All other columns should be resizeable and reorderable. My code is below. Please, any suggestions would be GREATLY appreciated.

<ClientSettings > 
                     
                        <Scrolling AllowScroll="True" UseStaticHeaders="true" ScrollHeight="500px" FrozenColumnsCount="2" /> 
                        <Resizing  
                            AllowColumnResize="True" 
                            AllowRowResize = "false" 
                            ResizeGridOnColumnResize = "false" 
                            ClipCellContentOnResize = "true" 
                            EnableRealTimeResize = "false" /> 
 
                    </ClientSettings> 

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 26 Jan 2010, 08:18 AM
Hello Kurt,

When resizing is enabled (AllowColumnResize is True), you can disable column resizing for individual columns by setting the column's Resizable property to False. Setting a column's Resizable property has no effect if AllowColumnResize is False.

For more information, please refer to the following help article:
Resizing columns

All the best,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Jeff
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or