Skip to content

Commit e4f8c88

Browse files
authored
docs: columnDef must used when using buttons
1 parent 1b50876 commit e4f8c88

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

search-panes-starter.md

-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ public function html() : \Yajra\DataTables\Html\Builder
7575
{
7676
// Adding via class
7777
return $this->builder()
78-
->searchPanes(SearchPane::make())
7978
->addColumnDef([
8079
'targets' => '_all',
8180
'searchPanes' => [
@@ -91,7 +90,6 @@ public function html() : \Yajra\DataTables\Html\Builder
9190

9291
// Alternatively set the buttons with options
9392
return $this->builder()
94-
->searchPanes(SearchPane::make())
9593
->addColumnDef([
9694
'targets' => '_all',
9795
'searchPanes' => [

0 commit comments

Comments
 (0)