jQWidgets Forums

jQuery UI Widgets Forums Grid Filtering number column

Tagged: 

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Filtering number column #27842

    sircom
    Member

    Hello,

    When filtering a numbers column in jQxgrid (v3.0.2) it works fine when values are different to 0. But when they are 0, any of the “equal, less than or greater than” filters work for those particular values. For example, when there is a row with a 0 in the column with the filter, if I choose “less than 5” filter, that row is not shown, but the rest which match the filter are.

    I found a workaround in Firefox, which was to double quote the value when it was 0, but in Chrome (v. 29.0.1547.57 / Mac) that doesn’t work.

    Thanks,

    Tony

    Filtering number column #27845

    Peter Stoev
    Keymaster

    Hi Tony,

    Check whether the datafield has type: “number” when you initialize the datafields array.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Filtering number column #27884

    sircom
    Member

    Hello Peter,

    Thanks for your response.

    The type property was already set from the beginning.

    Regards,
    Tony

    Filtering number column #27892

    Peter Stoev
    Keymaster

    Hi Tony,

    We will look into the reported behavior which we confirm. Thanks for the feedback.

    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.