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

[Solved] How to enable line break / scrollbar for Grid Cell editing

2 Answers 148 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeffery
Top achievements
Rank 1
Jeffery asked on 02 Feb 2010, 07:54 PM
I am trying to display rows where one of the columns binds to a memo field - the data in this field is straight text but can have line breaks.  When the data has line breaks, the height of the row increases in an attempt to show all of the text.  In display mode, I have set the RowHeight allow user to just see first few lines.   When in edit mode, somehow the line breaks are filtered out by your Grid.  Is there any way that we can keep the line break and enable scrollbar in order to let user edit the contents beside the first few lines?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Nedyalko Nikolov
Telerik team
answered on 05 Feb 2010, 01:01 PM
Hi Jeffery,

I'm attaching a sample project which can give you an idea how to meet your goals. For more details how to create a custom column (with custom editor and presenter) you can take a look at this blog post.
Let me know if this does not help.

Regards,
Nedyalko Nikolov
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Jeffery
Top achievements
Rank 1
answered on 05 Feb 2010, 04:34 PM
It works.  Thanks a lot.
Tags
GridView
Asked by
Jeffery
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Jeffery
Top achievements
Rank 1
Share this question
or