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

Fixed row height and long data.

1 Answer 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lukasz Kalbarczyk
Top achievements
Rank 1
Lukasz Kalbarczyk asked on 19 Mar 2010, 11:33 AM
Is it possible to set the fixed height of the each row and put longer text than visible into Tooltip f.ex.?
TableLayout fixed doesn't work :(

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 22 Mar 2010, 11:42 AM
Hello Lukasz,

There is no way to force a table row to have a smaller height than its content. You have the following options:

1) Use a template column and place some container in the template (e.g. a <div>) with explicit height and overflow:hidden CSS styles.

2) Strip some of the content at runtime in ItemDataBound, so that it can fit in the desired height.

If you want to use tooltips, option (1) is recommended.

using system tooltips:
http://www.telerik.com/help/aspnet-ajax/grdtooltipsforgriditems.html

using RadToolTip:
http://demos.telerik.com/aspnet-ajax/tooltip/examples/targetcontrolsandajax/defaultcs.aspx?product=grid


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