ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: rgorantla on September 29, 2014, 08:32:20 pm

Title: Dropdown autocomplete Case Sensitive
Post by: rgorantla on September 29, 2014, 08:32:20 pm
Hi,

Can we make autocomplete text box case insensitive ?

Ex: I have ABC in a dropdown and when i am trying to enter abc it is giving me an error


Thanks,
Roseline.
Title: Re: Dropdown autocomplete Case Sensitive
Post by: paramvir on September 30, 2014, 02:02:10 pm
Please refer the demo

http://paramquery.com/pro/demos/editing_custom
Title: Re: Dropdown autocomplete Case Sensitive
Post by: rgorantla on September 30, 2014, 06:39:45 pm
Hi,

I have exactly as in the demo , but still the autocomplete textbox is case-sensitive.
Title: Re: Dropdown autocomplete Case Sensitive
Post by: rgorantla on September 30, 2014, 11:15:02 pm
It is happenig in your demo too :

http://paramquery.com/pro/demos - type in books cell in a row "actionscript" all lower case - it says not valid - CASE SENSITIVE.

Any way to get this work without being case sensitive?
Title: Re: Dropdown autocomplete Case Sensitive
Post by: paramvir on October 01, 2014, 12:03:57 am
Please check the Ship Country column in that demo.
Title: Re: Dropdown autocomplete Case Sensitive
Post by: rgorantla on October 01, 2014, 12:07:06 am
yeah ship country i understand , data is coming from Json
- but in my code for now , drop downs are in the format of books not country list ... is there any way o make it work for books?
Title: Re: Dropdown autocomplete Case Sensitive
Post by: paramvir on October 01, 2014, 12:12:55 am
Please use a for loop instead of $.inArray and use toUpperCase() or toLowerCase() method on both sides of equality operator (==) while comparing the values.
Title: Re: Dropdown autocomplete Case Sensitive
Post by: rgorantla on October 02, 2014, 07:59:55 pm
could you please help me with any example?
Title: Re: Dropdown autocomplete Case Sensitive
Post by: paramvir on October 02, 2014, 11:38:26 pm
Please check books column in

http://paramquery.com/pro/demos/editing_custom2