How to truncate the data in the Row of RadGridView ?

2 posts, 0 answers
  1. Devid
    Devid avatar
    10 posts
    Member since:
    Aug 2016

    Posted 28 Aug Link to this post

    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 ?     






  2. Dilyan Traykov
    Dilyan Traykov avatar
    334 posts

    Posted 31 Aug Link to this post

    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.

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top