ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: queensgambit9 on October 18, 2016, 02:08:18 pm

Title: pqSelect single select
Post by: queensgambit9 on October 18, 2016, 02:08:18 pm
When applying pqSelect to  single select I get a box inside the dropdown box with the option text inside it...how can I fix that?
Thanks.
Title: Re: pqSelect single select
Post by: paramvir on October 19, 2016, 11:23:22 am
I'm not sure what you mean by the option text. Can you please attach a screenshot.
Title: Re: pqSelect single select
Post by: queensgambit9 on October 19, 2016, 02:08:59 pm
Sure, I would like it to display as a "normal" select, not as a box inside the dropdown.
Thanks
Title: Re: pqSelect single select
Post by: paramvir on October 20, 2016, 01:10:04 pm
maxDisplay:0 might get you the desired effect: http://paramquery.com/pro/api/select#option-maxDisplay
Title: Re: pqSelect single select
Post by: queensgambit9 on October 20, 2016, 01:33:16 pm
No, It works for multiple select...mine is a standard (single) select and it doesn't seem to work...
Title: Re: pqSelect single select
Post by: paramvir on October 20, 2016, 02:17:56 pm
Sorry about that.

deselect: false is the right fit.

http://paramquery.com/pro/api/select#option-deselect
Title: Re: pqSelect single select
Post by: queensgambit9 on October 20, 2016, 07:33:59 pm
Great, thanks.