addColumn('action', 'DummyAction') ->setRowId('id'); } /** * Get the query source of dataTable. */ public function query(ModelName $model): QueryBuilder { return $model->newQuery(); } /** * Optional method if you want to use the html builder. */ public function html(): HtmlBuilder { return DummyBuilder::make(); } /** * Get the filename for export. */ protected function filename(): string { return 'DummyFilename_' . date('YmdHis'); } }