jQuery UI Widgets Forums Grid Using createfilterwidget and default values

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 10 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • pit007


    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 () {

    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

    Thanx for you help,


    Hello pit007,

    Using createfilterwidget is not appropriate for initial filtering. You should apply a filter instead, as shown in the Filtering demo. As for the documentation, you can find more information for createfilterwidget in the API Documentation of jqxGrid, under columns.

    The forum can be searched by selecting Topics in the Dashboard – there is a search field in the top right corner.

    Best Regards,

    jQWidgets team

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.