We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6bf8e2 commit 2f70c3cCopy full SHA for 2f70c3c
search-panes-starter.md
@@ -34,6 +34,19 @@ public function html() : \Yajra\DataTables\Html\Builder
34
],
35
])
36
->dom('PBfrtip');
37
+
38
+ // Displaying specific column indexes
39
+ return $this->builder()
40
+ ->searchPanes(SearchPane::make()->columns([1, 2]))
41
+ ->addColumnDef([
42
+ 'targets' => '_all',
43
+ 'searchPanes' => [
44
+ 'show' => true,
45
+ 'vieTotal' => false,
46
+ 'viewCount' => false,
47
+ ],
48
+ ])
49
+ ->dom('PBfrtip');
50
51
// Alternatively set the dom with parameters
52
return $this->builder()
0 commit comments