jQWidgets Forums

jQuery UI Widgets Forums Grid Filtering data that contains the Pipe '|' character

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

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

  • sydney
    Participant

    Hi,

    We are using the enterprise version 3.6.0 and are having the exact same issue as mentioned in the topic : Filtering data that contains “|” pipes.

    Quoting the question :

    We are having an issue with filtering on grids. We are presenting data that contains a pipe “|” and using the built in filter functionality in jqgrid. 
    Lets assume the rows look like: “M:DRM|S:E|L:1|Z:10”, If I were to enter “M:DRM” into the filter textbox, it will filter correctly to the rows which contain “M:DRM”.
    Now if I were to enter “M:DRM|” or “M:DRM|S” it will show all rows or all rows containing “M:DRM|S” respectively.
    I would like for the filtering to treat the “|” as any other character.
    How can I overcome this, I do not require “|” to be applied as an “OR” in the filter.

    The response provided was :

    Hi emdz,
    The feature which you want to be turned off cannot be turned off in this version. | in the filter input is considered as OR.
    Best Regards,
    Peter Stoev

    So my question is, with the latter versions of jqxGrid, is there any way to turn off the pipe ‘|’ filter?

    Thanks,
    Sydney M


    Peter Stoev
    Keymaster

    Hi Sydney M,

    No, there is no built-in property to turn off this functionality off. If you want to turn it off, you will have to make modifications in jqxgrid.filter.js file.

    Best Regards,
    Peter Stoev

    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.