jQWidgets Forums

jQuery UI Widgets Forums Grid Filterrow with wildcards and inline operators?

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 12 years, 6 months ago.

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

  • Stupido
    Member

    I would like to implement a filterrow that is more intuitive and easier to use than the built in functionality. Something like the filterrow of the famous tablesorter plugin

    With the tablesorter plugin the user can type filter expressions with wildcards and operators. Here are two  example:

    The filter expression ‘>10’ would filter all records with column values greater than 10.

    The filter expression ‘?en*’ would filter all records with column values that start with a random character followed by ‘en’ followed by a random sequence of characters like ‘Henry’ or ‘Benedict’.

    Would it be possible to do the same with jqxGrid and a bit of additional jQuery magic? Would custom filtering be the means for that?

    Any ideas or working solutions?


    Peter Stoev
    Keymaster

    Hi Stupido,

    The TextBox filter in the FilterRow supports

    <, > and =

    , if the filtered column is numeric/date column.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    Stupido
    Member

    Hi Peter,

    sorry but I fear don’t understand your answer.

    I tried to enter some filter expressions with operators “=” or “and”, but they didn’t work.

    It would be nice if you could give me a small example with the columns definitions necessary and some filter expressions that work.

    Regards
    Stupido


    Peter Stoev
    Keymaster

    Hi Stupido,

    You can use the following operators in the textbox filter when filtering numeric or dates:

    <, >,=

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.