NOTE!
- This is another example of how to add a custom filter search type - see this page for details on how to add your own.
- This "insideRange" search type does the following:
- This search type was not included with the other built-in search types as it might be a little slower than the other search types because it has a bit more calculation to do than the others.
- It looks for a dash surrounded by spaces (
-
) within the filter before activating. - So if you look for just in the "Delivery" column, the exact match of 4 will still be included.
- To test the example below, try or in the Delivery column, or in the "Price Range" column.
- Entering a range (e.g. will switch the query to the range search type which will only look at the first number of the range within each cell.
Demo
Rank | Name | Delivery (days) | Price Range |
---|---|---|---|
1 | Widget | 2 - 10 | $5.95 - $13.20 |
11 | Doodad | 1 - 4 | $2.99 - $8.40 |
12 | Whatchamacallit | 3 - 7 | $4.29 - $15.99 |
15 | Thingy | 5 - 6 | $9.99 - $13.20 |
21 | Cube | 2 - 7 | $6.99 - $14.99 |
13 | It | 5 - 12 | $15.89 - $18.22 |
5 | Fred | 20 - 30 | $13.19 - $15.54 |
10 | FuBar | 4 | $5.50 |
16 | Otto | 2 - 4 | $6.30 - $14.19 |
21 | Betsy | 7 | $5.67 - $8.25 |
18 | Cylde | 5 - 10 | $11.20 - $15.45 |
7 | Brick | 5 - 7 | $12.00 - $14.30 |
9 | Gadget | 10 - 20 | $7.09 - $13.20 |