How to insert paragraph in a textarea field in excel view?

QuestionsHow to insert paragraph in a textarea field in excel view?
Francisco José Segura Noya asked 3 years ago

Hello Abu

How to insert paragraph in a textarea field in excel view?

Example:

$col["edittype"] = "textarea"; // render as textarea on edit
$col["editoptions"] = array("rows"=>6, "cols"=>42); // with these attributes

When I write in this textarea, I can not create paragraphs.

Thank you

3 Answers
Abu Ghufran answered 3 years ago

Hi,

This seems to be a bug. I'll be updating you after fix.

Abu Ghufran answered 3 years ago

Hi,

Sorry for the delay. This bug fix took a lot of our time.

Refer this working demo code, line 83,150 have changes for fix.
http://www.phpgrid.org/demo/demos/appearance/excel-view.phps

Francisco Javier Jiménez answered 3 years ago

Tanks Abu.

This works well.

Your Answer

10 + 18 =

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?