Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

how can I make the Listgrid Filter case insensitive

$
0
0
I have two similar listgrid to represent a product list.

In the first listgrid you can filter any product using the product name filter and it's not case sensitive.

Filter = "ibm" product name fetched = "IBM Assistant Series"

executed query:-
Code:

SELECT ....,.....  WHERE (LOWER(PRODUCT.PRODUCT_NAME) LIKE '%ibm%' {ESCAPE '\'} AND PRODUCT.PRODUCT_NAME IS NOT NULL)
In the second grid that fetch from the same table when I filter by the same string I don't get any results:-

Filter = "ibm" product name fetched = None

executed query:-
Code:

SELECT ....,.....  WHERE (PRODUCT.PRODUCT_NAME LIKE '%ibm%' {ESCAPE '\'} AND PRODUCT.PRODUCT_NAME IS NOT NULL)
how can I make the second list grid filter for the product name case insensitive?

Viewing all articles
Browse latest Browse all 4756