diff --git a/demos/collection/tablefilter.php b/demos/collection/tablefilter.php index 48d306377c..0ce61f067c 100644 --- a/demos/collection/tablefilter.php +++ b/demos/collection/tablefilter.php @@ -21,6 +21,11 @@ 'type' => 'boolean', ]); +$model->addExpression('bigint', [ + 'expr' => $model->expr('['.$model->getIdField()->shortName.']'), + 'type' => 'bigint', +]); + $grid->setModel($model); $grid->addFilterColumn();