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

Can I prevent next columns from resizing automatically when manually resizing a column ?

3 Answers 119 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eva
Top achievements
Rank 1
Eva asked on 20 Dec 2016, 01:12 PM

Hello,

When resizing a column in a RadGrid, widths of the next columns are automatically resized.

I would like to prevent that, or to freeze the column widths of some columns.

I tried the property EnableNextColumnResize set to false on my grid's (from http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/columns/resizing), but it doesn't change anything.

Is there any solution to this ?

Thanks and regards.

3 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 21 Dec 2016, 01:33 PM
Hello Eva,

If you want to resize a column, without changing the other columns, then ResizeGridOnColumnResize property should be set to true as well.

This can be tested here:
http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/columns/column-row-resize-reorder/defaultcs.aspx

Regards,
Vasil
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Eva
Top achievements
Rank 1
answered on 22 Dec 2016, 03:12 PM

Hello Vasil,

It doesn't change anything either, even with the same properties as the demo (which works fine).

Is there any other way ?

Thanks and regards

0
Vasil
Telerik team
answered on 27 Dec 2016, 09:33 AM
Hi Eva,

I am not sure why you have the same properties as in the demo, but you get different behavior. Is it possible for you to share your markup?

Regards,
Vasil
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Eva
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Eva
Top achievements
Rank 1
Share this question
or