my Table consists of many text-columns and editing created a texteditior on every field.
The columns are dynamically created on an import, so I don't necessarily know the names.
I found no simple solution to do an "unset_texteditor" for every field.
So I changed the following in grocery_crud.php:
case 'text':
if(!empty($this->unset_texteditor) && in_array($field_info->name,$this->unset_texteditor))
$field_info->extras = false;
else
$field_info->extras = 'text_editor';
break;
to the following:
case 'text':
if(!empty($this->unset_texteditor) && (in_array($field_info->name,$this->unset_texteditor) || ($this->unset_texteditor[0]=='*') ) )
$field_info->extras = false;
else
$field_info->extras = 'text_editor';
break;
I can do an unset_texteditor for every field with this:
$crud->unset_texteditor('*');
Perhaps this helps someone.
Would be great, if you could integrate such a solution into one of the next Version.
Greetings