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

How to truncate the data in the Row of RadGridView ?

1 Answer 139 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Devid
Top achievements
Rank 1
Devid asked on 28 Aug 2016, 04:02 PM

I have a RadGridView which I am binding to a VirtualQueryableCollectionView. If the Text is to long the row height gets too big. I want to set a maximum width to my Rows, if the text exceeds this width, it should get trimmed or truncated , how can I accomplish this ?     

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 31 Aug 2016, 09:26 AM
Hello Devid,

From the information you've provided so far, I can give you the following suggestions:

1) Set the Width or MaxWidth properties of your column to a fixed number.

2) Use the column's TextWrapping and TextTrimming properties.

If none of these approaches work for you, please provide more details on how you've set up your RadGridView so that I may better assist you in finding a solution.

Regards,
Dilyan Traykov
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
Devid
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or