Following code throws out no error,but it’s completely inactive,respectively redundant. JQuery is filtering nothing! Any ideas, how to fix this?
$gridColumn = [
[
'attribute' => 'ort',
'label' => 'Stadt',
'value' => function($model) {
if ($model->ort) {
return $model->ort;
} else {
return NULL;
}
},
'filterType' => GridView::FILTER_TYPEAHEAD,
'filterWidgetOptions' => [
'pluginOptions' => ['highlight' => true],
'dataset' => [['local' => ArrayHelper::map(plz::find()->orderBy('ort')->asArray()->all(), 'id', 'ort'),]
]],
'filterInputOptions' => ['placeholder' => 'JQuery will filter...'],
'format' => 'raw'
],
.
.
.
]