File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -40,34 +40,6 @@ DataTables internal index id response column name.
4040'index_column' => 'DT_Row_Index',
4141```
4242
43- <a name =" engines " ></a >
44- ## Engines
45- A list of available engines.
46- This is where you can register your custom datatables engine.
47-
48- ``` php
49- 'engines' => [
50- 'eloquent' => Yajra\Datatables\Engines\EloquentEngine::class,
51- 'query' => Yajra\Datatables\Engines\QueryBuilderEngine::class,
52- 'collection' => Yajra\Datatables\Engines\CollectionEngine::class,
53- // add your custom engine
54- ],
55- ```
56-
57- <a name =" builders " ></a >
58- ## Builders
59- A list of accepted data source / builders of datatables with their corresponding engine handler.
60-
61- ``` php
62- 'builders' => [
63- Illuminate\Database\Eloquent\Relations\HasMany::class => 'eloquent',
64- Illuminate\Database\Eloquent\Builder::class => 'eloquent',
65- Illuminate\Database\Query\Builder::class => 'query',
66- Illuminate\Support\Collection::class => 'collection',
67- // add your data source to custom engine handler
68- ],
69- ```
70-
7143<a name =" fractal-includes " ></a >
7244## Fractal Includes
7345Request key name to parse includes on fractal.
You can’t perform that action at this time.
0 commit comments