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

RadGrid column display settings

1 Answer 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jesper
Top achievements
Rank 1
Jesper asked on 28 Nov 2011, 11:37 AM
Hi,
I have a RadGrid that I will populate with sometimes very long value/text in columns. I have set column width to 100px (fixed) and columns has resizeable set to true. Wrap is set to false (=I want whole value/text in one row).

Now if I have a column with a value/text that requires more than 100px to be displayed complete the text value will be cut off (text after 100px will be hided), example

Full text: This is a very long text/value
Cut off: This is a very lo (rest could be displayed if I manually resize column)

To make this more clear = obvious that text value is longer than what is displayed, I want to show as example below

What I want: This is a very lo... (end text/value with three dots)

Then it's more clear for the user that text/value is longer than what is displayed and then user could resize this column for having/displaying complete text/value.

How to realize/implement "the end to long value/text with three dots solution"?

Rgds,
Jesper 

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 29 Nov 2011, 11:02 AM
Hello Jesper,

 The grid does not provide such feature out of the box but you can try the approach with adding specific css styles as suggested in this forum thread. Note that the support for this may not be consistent across all browsers.

All the best,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
Jesper
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or