ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: dani2505 on May 29, 2020, 02:47:04 am

Title: Save array data from multiselect.
Post by: dani2505 on May 29, 2020, 02:47:04 am
Hi PQ Team,

Its a wonderful program i have seen but am trying to save the selected array into an variable. I tried almost to 50 times but couldnt get it how it works.

.val() , find(":selected") , .text() noting works..

Can you please help me with this please.....

Code examples:
Initialize the pqSelect with multiplePlaceholder option specified.
1
$( ".selector" ).pqSelect( { multiplePlaceholder: 'Select some options' } } );

Get or set the multiplePlaceholder option, after initialization:

//getter
var multiplePlaceholder = $( ".selector" ).pqSelect( "option", "multiplePlaceholder" );
 
//setter
$( ".selector" ).pqSelect( "option", "multiplePlaceholder", "Select any options" );
Title: Re: Save array data from multiselect.
Post by: dani2505 on May 29, 2020, 03:27:29 am
I got the answer.