File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 6565 - [Installation](/docs/{{package}}/{{version}}/html-installation)
6666 - [Builder](/docs/{{package}}/{{version}}/html-builder)
6767 - [Table](/docs/{{package}}/{{version}}/html-builder-table)
68+ - [Config](/docs/{{package}}/{{version}}/html-builder-config)
6869 - [Columns](/docs/{{package}}/{{version}}/html-builder-column)
6970 - [Macro](/docs/{{package}}/{{version}}/html-builder-macro)
7071 - [Ajax](/docs/{{package}}/{{version}}/html-builder-ajax)
Original file line number Diff line number Diff line change 1+ # Html Builder Config
2+
3+ Default table attributes are now configurable.
4+ To begin, you need to publish the config by running ` php artisan vendor:publish --tag=datatables-html `
5+
6+ Published config is located at ` config/datatables-html.php ` .
7+ You can then update the default table attributes that you prefer for every table rendered using the builder class.
8+
9+ ``` php
10+ return [
11+ 'table' => [
12+ 'class' => 'table',
13+ 'id' => 'dataTableId'
14+ ]
15+ ];
16+ ```
You can’t perform that action at this time.
0 commit comments