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

[Solved] Show Scroll on Resize

3 Answers 105 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Erwin
Top achievements
Rank 1
Erwin asked on 10 Mar 2010, 07:17 AM

 

We have been using your Grid for sometime now.
At First we used you RadGrid and added a Resizing Property and it works well
<Resizing AllowColumnResize="true" AllowRowResize="false" EnableRealTimeResize="true"  ResizeGridOnColumnResize="false">

When we resize the column the grid does not resize(since ResizeGridOnColumnResize ='false')
and this is what we needed.

Then we tried using the Scrolling property.
<Scrolling AllowScroll="true" UseStaticHeaders="true" />

Our Problem is that when we resize a certain Column the whole grid get resized.

When a certain column is resize to the left, the grid does not resize but the column adjust and we can see that at the rightside of the grid that there are white spaces with no grid lines, the last column adjust and leave this white spaces.

When we adjust a column to the right, the grid resizes itself

I want to do two options:

a) when i adjust the grid column, the grid will not resize then the column will resize to the grids width(like the grid before i add scrolling)

 

b) when i adjust the grid column, the grid is fixed in size the a horizontal scroll will appear and the column will be adjusted

Hope you can help.
Thanks

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 10 Mar 2010, 02:43 PM
Hello Erwin,

The resizing issue is due to a limitation of the RadGrid control where resizing for grid with static headers does not work. Therefore you should either use non-static headers or disable resizing.

Greetings,
Pavlina
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.
0
Erwin
Top achievements
Rank 1
answered on 11 Mar 2010, 04:42 AM
Is there another way to have a static header and a grid resizeing?

Ive search in the forum and seen this thread:

http://www.telerik.com/community/forums/aspnet-ajax/grid/column-headers-do-not-scroll-horizontally-with-the-grid.aspx

but I can not see the attachment mentioned in the link.
0
Pavlina
Telerik team
answered on 11 Mar 2010, 05:36 PM
Hi Erwin,

As I said in the previous post resizing for grid with static headers does not work due to RadGrid limitation. Therefore you should decide which property to use depending on your particular scenario.

Please, excuse us for the inconvenience caused.

Regards,
Pavlina
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
Pavlina
Telerik team
Erwin
Top achievements
Rank 1
Share this question
or