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

Grid Static Header Vs Column Resize

1 Answer 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Erwin
Top achievements
Rank 1
Erwin asked on 03 Apr 2010, 01:56 PM
Good Day to All

I Have a grid with a Column Resize Property = true
My grid works fine.....until i used the scrolling with static header to true.
When static header is true, if i resize my column the grid resizes even if i set the resize grid on column resize =  false

I really like to combine this features

I would like to know if they really do not work together and is there a backdoor code to make them work?

Thank You

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 05 Apr 2010, 12:43 PM
Hi Erwin,

When you resize a column while using static headers, the RadGrid control should not resize, but the MasterTableView should resize. In other words, the widths of all other columns will be preserved. This behavior is by design and I am afraid you cannot change it. Well, if you disable real-time resizing, you could intercept the ColumnResizing client event, cancel it and resize all columns with the client API in such a way, so that the sum of all columns remains the same. However, it seems like an overhead to me and moreover, it will be a resource-heavy operation for the browser.

Sincerely yours,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Erwin
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or