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

Scrolling Grid

3 Answers 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 13 Aug 2010, 03:45 AM
hi

I have enable scrolling on a grid and it worked. But  the scrolling height is not 100% and how should i get 100% scroll height. Also, it seems that my data in the grid seems cut off. I have set the content Clipping to false but still it is cut off. What should i do? thanks

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 13 Aug 2010, 09:49 AM
Hi L,

ScrollHeight cannot be set in percent, you can set Height="100%" to the RadGrid control instead.

http://www.telerik.com/help/aspnet-ajax/height-vs-scrollheight.html

Here are a couple of examples that deal with RadGrid 100% height.

http://www.telerik.com/community/code-library/aspnet-ajax/grid/setting-100-height-and-resize-on-container-resize-for-grid-with-scrolling-and-static-headers.aspx

http://www.telerik.com/community/code-library/aspnet-ajax/ajax/how-to-set-100-height-and-random-styles-to-a-radajaxmanager-update-panel.aspx

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
0
L
Top achievements
Rank 1
answered on 13 Aug 2010, 01:12 PM
hi

It seems that it would clip away a few characters when scrolling is enable. I did not set column resize to true.

for example, i have a record which is "conservation" in the grid but i can only see up to "conservati" in the grid. What happen? Thanks
0
Dimo
Telerik team
answered on 16 Aug 2010, 03:40 PM
Hello L,

If the MasterTableView's TableLayout is set to Fixed, content clipping occurs if the cell content cannot be fitted in the column width. In certain cases (e.g. RadGrid with scrolling and static headers enabled, and column widths set), the TableLayout is set to Fixed automatically by design.

So you should do one of the following:

+ set TableLayout="Auto" if it is "Fixed"
+ increase the respective column width, if using automatic TableLayout is not possible

Greetings,
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
L
Top achievements
Rank 1
Answers by
Dimo
Telerik team
L
Top achievements
Rank 1
Share this question
or