jQuery UI Widgets Forums Grid Filtering Events for localdata

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Filtering Events for localdata #91785

    Gaetek
    Participant

    Hello,
    I’d like to know the best practice to determine when the grid as completed filtering in the case of local data (no server side filtering).
    I can’t find a way to determine when the complete rendering is done and so I can count the number of filtered rows.

    I tried: ready, rendered, filtered and none worked (filtered fires too many time, it fires at every row creation).

    Any help?

    Thanks,
    Gaetano

    Filtering Events for localdata #91814

    Hristo
    Participant

    Hello Gaetano,

    The filter event is the right place. This event is triggered when the Grid is filtered.
    I would suggest you ready callback. This function is called when the grid is initialized and the binding is complete. There you could set filter by default.
    Also, I would like to suggest you bind to filter event before to create the Grid (on that way you will catch some filtering in ready callback).

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.