Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 438 Bytes

html-builder-config.md

File metadata and controls

16 lines (13 loc) · 438 Bytes

Html Builder Config

Default table attributes are now configurable. To begin, you need to publish the config by running php artisan vendor:publish --tag=datatables-html

Published config is located at config/datatables-html.php. You can then update the default table attributes that you prefer for every table rendered using the builder class.

return [
	'table' => [
		'class' => 'table',
		'id' => 'dataTableId'
	]
];