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

Prevent wrap of grid cell content

1 Answer 685 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jonas
Top achievements
Rank 1
Jonas asked on 24 Aug 2017, 03:02 PM

How do I prevent content in my Grid cells from wrapping when the text in the cell i too long?

See attached image.

1 Answer, 1 is accepted

Sort by
0
Accepted
Orlin
Telerik team
answered on 29 Aug 2017, 05:35 AM
Hello Jonas,

You can try the following CSS rule:
.k-grid table td {
  white-space: nowrap;
}

I hope that helps.


Regards,
Orlin
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Jonas
Top achievements
Rank 1
Answers by
Orlin
Telerik team
Share this question
or