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

RadGrid item field's data is cut off

1 Answer 8 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Миша
Top achievements
Rank 1
Миша asked on 17 Jun 2019, 10:54 AM

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? 

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 20 Jun 2019, 12:29 PM
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.
Tags
Grid
Asked by
Миша
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or