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 6 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 6 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 6 years ago

Works perfectly !

Thanks

Your Answer

1 + 1 =

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 / 5. Vote count:

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

Let us improve this post!