$grid->actions(function (Grid\Displayers\Actions $actions) {
if ($actions->getKey() == 1) {
$actions->disableDelete();
}
});
禁止 列表的刪除操作
$grid->tools(function (Grid\Tools $tools) {
$tools->batch(function (Grid\Tools\BatchActions $actions) {
$actions->disableDelete();
});
});