Our blazing fast Grid component built with pure JavaScript


Post by robcook@everactive »

We have a grid on top of an Ajax Store that allows users to filter by typing in a string. This works fine except when a # or + symbol is included in the filter text. For the # all text from the symbol to the end of the string is excluded from the API call. For the + symbol a space is added.

For example:
Filter Textbox: "Mech Room #1"
Query Parameter sent: "Mech Room "

Filter Textbox: "Supply +24"
Query Parameter sent: "Supply 24"

It's possible to work around this by using URL encoded values for each of these characters %23 for # and %2b for + but it's difficult to explain to our users that is how they must filter for strings containing these characters.

I'm not sure how to make it so users can filter for strings containing these characters.


Post by tasnim »

Hi,

Could you please show the code that how are you implemented this? So it will be more easier for us to reproduce!


Post by robcook@everactive »

Thanks for responding. This can be closed. I found the issue in our own API wrapper code. Thanks.


Post Reply