We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7eeb6e commit 12fad84Copy full SHA for 12fad84
README.md
@@ -127,12 +127,14 @@ public function actions()
127
```
128
129
130
-In DataTable options specify:
131
-```js
132
-{
133
- "serverSide": true,
134
- "ajax": "/datatables"
135
-}
+And add options to widget:
+
+```php
+ <?= \nullref\datatable\DataTable::widget([
+ /** ... */
+ 'serverSide' => true,
136
+ 'ajax' => '/site/datatables',
137
+ ]) ?>
138
139
140
0 commit comments