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

Resize Column: min and max width

1 Answer 273 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rashmi
Top achievements
Rank 1
Rashmi asked on 17 Feb 2012, 02:00 PM
Hi,
 I have a grid with scrolling, static headers and column resizing enabled. I want to assign minimum and maximum width for columns while reiszing them, so that user will be restricted from resizing after that(not by cancelling event). Also as grid with static headers do not recalculate width of all columns after resizing, I want to change width of other columns in oncolumnresizing or oncolumnresized event to maintain width of masterview table as a whole.

1 Answer, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 17 Feb 2012, 06:01 PM
Mahesh:

I wanted to be sure that you've seen this forum thread, which appears to be applicable to your requirement.

Setting a minimum width on column

It appears that you'll need to use the Style properties of the RadGrid to set minimum and maximum column width boundaries, which would otherwise only be possible by cancelling the ColumnResizing client event as defined in the RadGrid Column Resizing - Min & Max width forum thread.

Hope this helps!
Tags
Grid
Asked by
Rashmi
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Share this question
or