⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠
Posted 03 March 2019 - 17:59 PM
Posted 03 March 2019 - 20:45 PM
I trying to adapt the complete for CI sample in documentation.
The 2 grids are correctly displayed, but the add button in the second grid don't work.
Posted 04 March 2019 - 09:47 AM
The Auto Increment ID was missing. But this was not the problem.
Now The first grid is ok llike a charm. In the second grid only the delete a row function is working. I can't edit or add a row. Very strange.
If I call just my controller /admin/tarif_tarif which is in fact my second grid in the page, when he is alone there is no problem.
Please help.
Posted 04 March 2019 - 10:04 AM
Finally, I find where is the problem.
It's a problem between setTexteditor() and the multigrid view function. It seem that there is a problem width the react library.
If I comment my 2 line width setTexteditor() the 2 grid are ok.
I will send a mail to John, hope a solution soon.
Posted 07 March 2019 - 14:31 PM
Finally thank's to john, there is a workaround,
Simply add :
$crud->setTexteditor(["texte"]);
in the first function, in my case in tarifs().
This do nothings, it's only for the initial load of some main libraries.