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

FrozenColumns Horizontal Scroll problem

5 Answers 159 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ibrahim Imam
Top achievements
Rank 1
Ibrahim Imam asked on 18 Aug 2009, 09:17 PM
hello

i tried for days and also searched for old forum threads but i couldn't find an answer to my specific problem.

i create a big radgrid with some invisible columns dynamically.
there are about visible 15 columns inside the grid and i set horizontal scroll, frozencolumns,headerwith, UseStaticHeaders="true" SaveScrollPosition="true", tablelayout to fixed in the parent item, overflow:hidden for radgrid.

if i set the frozencolumns to 2 the grid nearly works perfectly, it cuts a little of the last column
but if i set the frozencolumns to 5 which is needed for our scenario the scroll does not reach the last few columns.
i can jump to the last columns by pressing tab but the scroll ends before.

do you have any hint for this specific problem?
i am using IE as browser.

5 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 19 Aug 2009, 12:40 PM
Hello Ibrahim,

I am afraid this is a known issue in RadGrid when the number of frozen columns is larger.

The resolution is to increase the width of the last column. Sorry about this inconvenience.

Sincerely yours,
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
Ibrahim Imam
Top achievements
Rank 1
answered on 19 Aug 2009, 05:09 PM
hello

thanks for that information, that really helped me out in our situation. maybe you should add a hint in the frozencolumn section of your demos/help?

i have another issue and i think it's also related to the frozencolumns
i open a new window with just the radgrid and some buttons on top and bottom. if i resize the window to fullmode right after opening it and then start to scroll it works but if i scroll and then maximize the window the scrolling does not work as expected.
Sometimes even the scrollbar dissapears and i can not scroll anymore (after postback it is displayed again)

i can not scroll to the last column. what is a workaround for this issue?

0
Dimo
Telerik team
answered on 20 Aug 2009, 03:06 PM
Hello Ibrahim,

I am afraid this is a known issue as well and a currently unsupported scenario. We will do our best to fix it for some of the next releases. Sorry for the inconvenience.

Greetings,
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
Ibrahim Imam
Top achievements
Rank 1
answered on 11 Sep 2009, 02:45 PM
hello

i recently ran in a new issue with horizontal scrolling and frozen columns:

in my gridview i have text that makes single cells multiline because of its length
if the lines in the frozencolumns are equal or greate than in other columns everything works fine but otherwise the row gets smaller during scrolling which causes some strange behaviour for the horizonal borders of the cells (i am not using gridlines because i read in several threads this is not a good solution)
for instance:
i have 3 frozencolumns, in every row of these 3 columns the text is small enough to fit in one line
only in the 4th column i have along text for at least one row which makes the row larget because of line break
if i scroll so that the 4th column disappears the row gets smaller and the lines of the old and new height are displayed.

how can i avoid the row of getting smaller so that it is always the same size?

kind regards
0
Dimo
Telerik team
answered on 14 Sep 2009, 10:44 AM
Hello Ibrahim,

This is normal. In order to prevent it, you either have to specify large-enough column widths, so that the content in each cell fits on a single line, or alternatively, set an explicit height to the RadGrid data rows (ItemStyle-Height property of the MasterTableView), so that the rows do not shrink automatically.

Best wishes,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Ibrahim Imam
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Ibrahim Imam
Top achievements
Rank 1
Share this question
or