Textarea view

QuestionsTextarea view
Gustavo Lazaro asked 6 years ago

Text area of ​​a field as I can see it neatly in the view: the field has more than 300 characters. Thank you

6 Answers
Abu Ghufran Staff answered 6 years ago

I don’t understand your question. Please resend with more explanation and screenshot.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Gustavo Lazaro answered 6 years ago

I don´t want to scroll the text, I need that the text area have multiple lines. Thanks you. http://imagizer.imageshack.us/a/img923/5995/pgVxyv.jpg

Gustavo Lazaro answered 6 years ago

Hi again, did you understand my question?

Abu Ghufran Staff answered 6 years ago

Yes, it’s clear now. Refer this https://www.phpgrid.org/faqs/#25

You need to add css:

<style>
.ui-jqdialog-content .CaptionTD
{
vertical-align: top;
}
.ui-jqdialog-content .form-view-data
{
white-space: normal;
}
</style>

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
zahira abdala answered 1 year ago

Hi Abu, thanks for your answer, very useful.
I would like to ask you if it is possible to put different separated paragraphs by the enter key.
If you can help me I would appreciate it.

Thank you.

Abu Ghufran Staff answered 1 year ago

One option is to use html editor instead of textarea.

https://www.gridphp.com/demo/demos/integrations/html-editor.php

If you mean something else, please share code and screenshot.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

5 + 6 =

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?