Display long text in a row as textarea / row text lines / row height

QuestionsDisplay long text in a row as textarea / row text lines / row height
Tomasz asked 11 years ago

Dear Abu,
Is it possible to display (not edit form ) some long text in a row to be more readable?
I mean break lines / adjust row text lines as in textarea edit-form.
Thanks
Tomasz

2 Answers
Abu Ghufran answered 11 years ago

Q) How to do word-wrap (fit) content in grid cells?

Update following css in page to change cell wrapping.

<style>
.ui-jqgrid tr.jqgrow td
{
vertical-align: top;
white-space: normal !important;
padding:2px 5px;
}
</style>

Tomasz answered 11 years ago

Works perfectly !

Thanks

Your Answer

2 + 2 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?