Grid Init
the initial setting function of the table is added to set the table globally. For example, if you need to disable some operations in all tables, you can add the following code in app/Admin/bootstrap.php
:
This way you don't have to set it in the code of each controller.
If you want to enable settings in one of the tables, such as opening the display action column, call $grid->disableActions(false);
on the corresponding instance.
Last updated