RadGrid item field's data is cut off

2 posts, 0 answers
  1. Миша
    Миша avatar
    1 posts
    Member since:
    Jun 2019

    Posted 17 Jun Link to this post

    When item have long word data value does not fit and goes beyond

     

    Input data: Value to be displayed in grid - "MylongLongLongLongWord cut" 

    Actual Result: in my grid fiels i see in first line "MylongLongLo" in the second "cut".

    Expected result: in first line "MylongLongLo" in the second "ngLongWord cut".

     

    How to make text wrap or resolve this issue? 

  2. Vessy
    Admin
    Vessy avatar
    2039 posts

    Posted 20 Jun Link to this post

    Hi Misha,

    You can split the column titles on separate rows by changing the word-break mode of the th cells like follows:
    <style>
        .RadGrid .rgMasterTable th.rgHeader {
            word-break: break-word;
        }
    </style>

    Regards,
    Vessy
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top