Hi,
I’d like to use jqxGrid with createfilterwidget and default values, which I found in a forum thread some while ago.
I use this code to add filterwidgets to jqxGrid’s columns:
createfilterwidget: function (column, columnelement, widget) {
setTimeout(function () {
widget.val(4711);
},
Unfortunately when the application first starts, the default values are displayed in the grid’s cells,
the initial request call to processdata via jqxDataAdapter does not take into account the filters’ initial values.
So initial data in the grid is not valid at startup.
If I leave out the call to setTimeout in the definition of createfilterwidget, no default values are shown at all.
How can I have both: initial values and correct data in the grid???
How can I access the filter widgets’ values from within ‘processdata’???
Incidentally I could’nt find any documentation on ‘createfilterwidget’ and the jqwidgets forum is not searchable by
topic.
Thanx for you help,
Peter