Why are paragraphs not shown in view dialog but are when editing?

QuestionsWhy are paragraphs not shown in view dialog but are when editing?
Mike Olson asked 3 months ago

If I add a record with a field formatter of textarea and enter text with multiple paragraphs I cannot see those paragraphs when I use the view dialog, however when I use the edit dialog the paragraphs are present.

1 Answers
Abu Ghufran Staff answered 3 months ago

Hi,

You will need line 34-49 code segment to show paragraphs in view dialog mode.

https://gist.github.com/gridphp/7a3139bde0d8b3234df54df0bf5efed0#file-example-all-php-L34

Adjust the $opt with your grid options variable.

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

20 + 16 =

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?