Kartik-Widget GridView Filter TYPEAHEAD inactive

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'

    ],

    .

    .

    .

]



Solved problem using SELECT2-Filter.LiveSearch is implemented by this widget…




.

.

.

        [

            'attribute' => 'name',

            'label' => 'Land',

            'value' => function($model) {

                if ($model->name) {

                    return $model->name;

                } else {

                    return NULL;

                }

            },

            'filterType' => GridView::FILTER_SELECT2,

            'filter' => ArrayHelper::map(Country::find()->all(), 'name', 'name'),

            'filterWidgetOptions' => [

                'pluginOptions' => ['allowClear' => true],

            ],

            'filterInputOptions' => ['placeholder' => 'name', 'id' => 'grid-country-search-name'],

            'format' => 'raw'

        ],

.

.

.