Hi,
Currently grid support filter type: “input”, “checked list”, “dropdown”, “checkbox” and “calendar”.
In my project, it need combo box component in filter header column.
Codes as:
$("#table-filter").jqxGrid(
{
width: 850,
source: dataAdapter,
showfilterrow: true,
filterable: true,
selectionmode: 'multiplecellsextended',
columns: [
{text: 'Name', columntype: 'textbox', filtertype: 'list', datafield: 'name', width: 215},
{ text: 'Qty.', datafield: 'quantity', filtertype: 'list', cellsalign: 'right', ---if use 'custom'??
createfilterwidget: function (column, columnElement, widget) {
widget.jqxComboBox();
} }
]
});
My questions are:
1. if use ‘custom’ filtertype, it will throw exception – “Uncaught TypeError: widget.jqxComboBox is not a function”!!
Why??
2. how to fill combo box with filter items automatically? And how to trigger filter table function when click combo box item.
So thanks for your help!