Can the wysiwyg editor be removed when editing in-line (main grid > inline edit)
Description: On the main grid when editing in-line too much vertical space is used when by the wysiwyg editor. Can the wysiwyg features be removed specifically on the main grid?
Note: wysiwyg editor should remained on add/edit popup
You can either make column as hidden in list, and let it editable in add/edit form.
$col["hidden"] = true;
$col["editrules"] = array("edithidden"=>true);
On the main grid when editing in-line too much vertical space is used when by the wysiwyg editor. Can the wysiwyg features be removed specifically on the main grid?
If you want to hide that columns, refer above solution.
Please explain what are you expecting in place of wysiwyg editor? inputbox / textarea ?
I want textarea at main grid for that column but wysiwyg editor in add/edit pop up form. Is it feasible?
Edit jqgrid_dist.php and update link_editor function.
http://hastebin.com/juxizeyigu.js
I just added following 2 lines just after function.
if (jQuery(el).closest('.jqgrow').length)
return;
The solution doesn't display the wysiwyg texts.
I would prefer change the phpgrid_dist.php from:
– CKEDITOR.replace
to:
– CKEDITOR.inline
that maintains the correct visibility and calls the editor only when the text gets the focus.
Massimo Gagliardi