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

[Solved] Column resizing inside parent with style overflow-x: scroll

2 Answers 200 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Miroslav
Top achievements
Rank 1
Miroslav asked on 29 May 2009, 10:47 AM
Hi,

I'm trying to use column resizing inside div having fixed width and overflow scroll (or auto).
            grid.Resizing.AllowColumnResize = True
            grid.Resizing.ClipCellContentOnResize = True
            grid.Resizing.EnableRealTimeResize = True
            grid.Resizing.ResizeGridOnColumnResize = True

It works almost perfectly but on the client side, when resizing the grid while horizontal scrollbar is scrolled to right, two lines that suppose to show column left and right borders are displayed on wrong position. It seems that during resizing scrollLeft (and scrollTop?) of containers is not calculated.
The same happen when trying to move column if grid is scrolled to left inside similar container.

BTW, I tried also by setting: grid.Style("overflow") = "auto" and grid.Resizing.ResizeGridOnColumnResize = false.
This works in the same way, because the style is applyed to the div containing actual table. It means that setting overflow(x) to auto and fixing the bug would be a nice new feature of RadGrid :-)

Am I missing some point there?
Thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 01 Jun 2009, 08:34 AM
Hi Miroslav,

You are not missing anything. Indeed, there is such an issue and we are aware of it. We will fix it for the next official release (Q2 2009), together with some other related fixes as well. Sorry for the inconvenience.

Best wishes,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Miroslav
Top achievements
Rank 1
answered on 01 Jun 2009, 08:51 AM
Thanks!
Tags
Grid
Asked by
Miroslav
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Miroslav
Top achievements
Rank 1
Share this question
or