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

RadGrid hide wrapped text

1 Answer 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Silviu
Top achievements
Rank 1
Silviu asked on 22 Jun 2015, 02:49 PM

I have a RadGrid with many columns but one column has a lot of text and I want its width to be 150px.

I do not want it to wrap to the next line, it needs to be one line but it must hide all of the wrapped text.

By hide I mean the user should be able to drag the size of the column and if they make it bigger more text can be visible.

How is that achieved?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 25 Jun 2015, 10:30 AM
Hi Silviu,

You can prevent the wrapping using the following approach:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/how-to/no-wrap-for-grid-cell-content

Then, you can enable the ClipCellContentOnResize to achieve the requested functionality:
http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/columns/column-row-resize-reorder/defaultcs.aspx

Hope this helps.

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Silviu
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or