Filter based on single number found within a range?
Filter based on single number found within a range?
christopherious
Posts: 2Questions: 0Answers: 0
I want to filter a table based on a column that contains ranges of numbers in each cell (for example, "400-424"). Users inputting "401" or any other number that happens to be in that range would return the row, any number falling outside the range would return some other applicable row (e.g. "801" would return a row containing "800-824").
Anyone care to point me in the right direction? Examples would be very welcome, as my jQuery is pretty weak at this point (as is my knowlege of regex).
I did see a range filtering example on this site, but it looks like that asks the user to input two numbers instead (the range) rather than a value inside the range but that doesn't actually appear in the cell.
Anyone care to point me in the right direction? Examples would be very welcome, as my jQuery is pretty weak at this point (as is my knowlege of regex).
I did see a range filtering example on this site, but it looks like that asks the user to input two numbers instead (the range) rather than a value inside the range but that doesn't actually appear in the cell.
This discussion has been closed.
Replies
Allan
Thanks for the pointer!