You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[toolbar](https://bootstrap-table.com/docs/extensions/toolbar/) with [advanced-search](https://bootstrap-table.com/docs/extensions/toolbar/#advancedsearch)
38
38
* more in progress...
39
39
40
40
*server-side
@@ -245,7 +245,7 @@ Represents column with text. With formatter you can create complex columns.
245
245
| class | string / null | null | The column class name. |
246
246
| formatter | string / null | null | JavaScript function name for formatter. (see [formatter](https://bootstrap-table.com/docs/api/column-options/#formatter)) |
247
247
| footerFormatter | string / null | null | JavaScript function name for footer formatter. |
248
-
|filterable| bool | true | enable / disable filtering for this column |
248
+
|searchable| bool | true | enable / disable filtering for this column |
249
249
| sortable | bool | true | enable / disable sortable for this column |
250
250
| switchable | bool | true | enable / disable interactive hide and show of column. |
251
251
| visible | bool | true | show / hide column |
@@ -262,25 +262,25 @@ Represents column with text. With formatter you can create complex columns.
262
262
263
263
```php
264
264
//use statements for search and sort option
265
-
use Doctrine\ORM\Query\Expr\Orx;
265
+
use Doctrine\ORM\Query\Expr\Composite;
266
266
use Doctrine\ORM\QueryBuilder;
267
267
268
268
->add('username', TextColumn::class, array(
269
269
'title' => 'Username',
270
270
'emptyData' => "No Username found.",
271
271
272
-
//optional overrides ...
272
+
//optional overrides ...
273
273
'data' => function (User $user) { //entity from getEntityClass
|`Composite $composite`| In the global search all columns are connected as or. In the advanced search all columns are combined with an and-connection. With `$composite` more parts can be added to the query. |
298
+
|`QueryBuilder $qb`|`$qb` holds the use QueryBuilder. It is the same instance as can be queried with `getQueryBuilder()` in the table class. |
299
+
|`$dql`|`$dql` represents the "path" to the variable in the query (e.g. `user.username` or in case of a JOIN `costCentre.name`) |
300
+
|`$search`| The search in the type of a string. |
301
+
|`$key`| The index of the columns already gone through. The index is used for parameter binding to the query. |
302
302
303
303
304
304
@@ -362,16 +362,14 @@ Represents column that are not visible in the table. Can used for data which are
362
362
363
363
All Options of TextColumn.
364
364
365
-
`filterable`, `sortable`, `visible` and `switchable` are disabled by default.
365
+
`searchable`, `sortable`, `visible` and `switchable` are disabled by default.
366
366
367
367
#### Example
368
368
369
369
```php
370
370
->add("id", HiddenColumn::class)
371
371
```
372
372
373
-
ID is used for bulk actions and must therefore be sent along, but should not be visible in the table.
0 commit comments