Tinymce Jquery UI Dialog issue

QuestionsTinymce Jquery UI Dialog issue
Sri asked 7 years ago

Hi,
I have one column that uses tinymce editor. There is an issue with loading the editor in Jquery UI dialog for add and edit features.
The editor loads only the first time and it doesn’t load again. I only see text area instead of tinymce editor.
It only happens in Jquery UI dialog 
It also happens in your integrations > tinymce-editor demo.
Thanks,
Sri
 

3 Answers
Abu Ghufran Staff answered 7 years ago
_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Sri replied 7 years ago

Thanks for the fix. It worked.
There is one more issue I am facing with Jquery UI dialog. It also happens in the demo
Issue: In Demo
When I open a row to edit in the Jquery Dialog. It is missing 1 column.
In the Demo, there are 4 columns : ID, Date, Notes, Total, Client.
ID, Date, Notes, Total are editable.
When I select a row and click on edit, I see ID, Date, Notes fields in the dailog box. I am unable to see Total field.
This is happening with textareas. I am not sure if this issue is related to textarea or RTF editors.

Sri answered 7 years ago

There is one more issue I am facing with Jquery UI dialog. It also happens in the demo
Issue: In Demo
When I open a row to edit in the Jquery Dialog. It is missing 1 column.
In the Demo, there are 4 columns : ID, Date, Notes, Total, Client.
ID, Date, Notes, Total are editable.
When I select a row and click on edit, I see ID, Date, Notes fields in the dailog box. I am unable to see Total field.
This is happening with textareas. I am not sure if this issue is related to textarea or RTF editors.

Abu Ghufran Staff answered 7 years ago

This is because the total column has settings which enable display on add and hide on edit.

$col["show"]["edit"]=false;
$col["show"]["add"]=true;

http://www.phpgrid.org/demo/demos/integrations/tinymce.phps
Line 107
_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Sri replied 7 years ago

Thank you.

Just realized that $col[“formoptions”] = array(“rowpos”=>”3”, “colpos”=>”1”); messed up my dialog view. This was only set for one column. So it did override the placeholder of other column.

Thank you very much for all your help

Your Answer

2 + 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?