Hi jQWidgets team!
I’m using jqxgrid (in the v4.3.0 package) with server side paging, filtering, sorting and trying to use a dropdownlist for a column filter with the code below:
createfilterwidget: function (column, columnElement, widget) {
var source = {
url: 'grid/megbizasok.php',
type: 'POST',
data: { pluck: 'felvevo_nev' },
datatype: 'json',
datafields: [
{ name: 'felvevo', type: 'int' },
{ name: 'felvevo_nev', type: 'string' }
],
id: 'felvevo',
};
var dataAdapter = new $.jqx.dataAdapter(source);
widget.jqxDropDownList({
source: dataAdapter,
displayMember: 'felvevo_nev',
valueMember: 'felvevo_nev',
});
}
Everything works fine except one strange behaviour (example gif): all four list elements shows up but the first one works as if it was a “(Select all)” like item in the normal filterrow dropdowns. Am i missing a dropdownlist option or where do i went wrong?
Best Regards,
Imre