Skip to content

Commit 7da885a

Browse files
committed
Set serverSide and processing as true by default.
1 parent dd85b17 commit 7da885a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Html/Builder.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ public function __construct(Repository $config, Factory $view, HtmlBuilder $html
7878
$this->html = $html;
7979
$this->collection = new Collection;
8080
$this->tableAttributes = $this->config->get('datatables-html.table', []);
81+
$this->attributes = [
82+
'serverSide' => true,
83+
'processing' => true,
84+
];
8185
}
8286

8387
/**

0 commit comments

Comments
 (0)