Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - queensgambit9

Pages: 1 ... 19 20 [21] 22 23 24
301
Help for ParamQuery Pro / Re: Filter condition
« on: November 24, 2016, 06:46:38 pm »
Would the above be possible?
Thanks.


302
Help for ParamQuery Pro / Re: Filter condition
« on: November 17, 2016, 08:17:07 pm »
Thanks. Is it possible to have more advanced expressions?

Code: [Select]
$("#grid_array").pqGrid("filter", {
oper: 'replace', data: [
    { dataIndx: 'Indx1', condition: 'equal', value: '1'},
    { dataIndx: 'Indx2', condition: 'equal', value: '2'},
    { dataIndx: 'Indx3', condition: 'equal', value: '3'}
]});

Like:
((Indx1 == '1' OR Indx2 == '1') AND Indx3 == '1') ?


303
Help for ParamQuery Pro / Call function from listener
« on: November 17, 2016, 01:53:07 pm »
Hi

I would like to call a function from a listener:

listener: function () {             
   call function in the create: function part
}

create: function (evt, ui) {   
   function code   
}

How can I do that?
Thanks.

304
Help for ParamQuery Pro / Re: Filter condition
« on: November 16, 2016, 06:30:19 pm »
Thanks, works fine.

Question...since I change the filterModel from default (AND) to (OR), I would like to restore after the filter is executed:

Code: [Select]
$("#grid_array").pqGrid( "option", "filterModel", { on: true, mode : "AND" } );
However this removes the filter header?

Also, regarding the filter condition...if I for the same column would like to filter on value: 1, 2 and 4...how would that looke like?
Code: [Select]
{ dataIndx: 'test', condition: 'equal', value: '0'}, // add value 1, 2 and 4...
 

305
Help for ParamQuery Pro / Filter condition
« on: November 16, 2016, 02:28:29 pm »
Hi, Im using:

Code: [Select]
$("#grid_array").pqGrid( "filter", { oper: 'replace', data: [
            { dataIndx: 'Column1', condition: 'equal', value: '0'},
            ]})

to set a filter...Would it be possible to add expression OR like 'Column1' == '0' OR 'Column2' == '0'?

306
Help for ParamQuery Pro / Re: colModel reorder
« on: November 15, 2016, 07:31:13 pm »
Thanks, but when for example hide attribute is set on a column with:

Code: [Select]
colModel[0].hidden = true;
The checkboxes are still there (in columnselector) even though column is hidden...so it need to be updated...

Code: [Select]
grid.option( 'colModel', grid.option( 'colModel') );
grid.refresh();

doesn't seem to update that?


307
Help for ParamQuery Pro / Hide column by dataIndx
« on: November 15, 2016, 03:30:23 pm »
Is it possible to hide column by dataIndx?
Instead of using index:

Code: [Select]
colModel[0].hidden = true;
Thanks.

308
Bug Report / saveState and columnSelector
« on: November 14, 2016, 09:03:24 pm »
Hi

Is there any update on this?

http://paramquery.com/forum/index.php?topic=1610.0

Thanks.

309
Help for ParamQuery Pro / colModel reorder
« on: October 24, 2016, 02:39:44 am »
Im using splice to reorder the colModel and need to update the new colModel to the show / hide column feature...
Whats the best approach to do this?

Thanks.

310
Help for ParamQuery Pro / Re: Optgroup in select
« on: October 20, 2016, 08:46:29 pm »
Thanks, struggled a bit and then created a jsfiddle...
Like to group option 2 and 3 with optgroup...

http://jsfiddle.net/zsztzvbz/

311
Help for ParamQuery Pro / Re: pqSelect single select
« on: October 20, 2016, 07:33:59 pm »
Great, thanks.

312
Help for ParamQuery Pro / Re: pqSelect single select
« 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...

313
Help for ParamQuery Pro / Re: Optgroup in select
« on: October 20, 2016, 01:31:01 pm »
Thanks, but my select do not belong to any column (not a filter), its a standalone select in the toolbar with hardcoded select options which execute functions...does it make any difference?

Tried:

options: [
 {test: 'test', groupIndx: 'testgroup'},
 {test2: 'test2'},
 {test3: 'test3'},
 ...

but no success...

314
Help for ParamQuery Pro / Re: Optgroup in select
« on: October 19, 2016, 02:31:22 pm »
Thanks. Read the documentation but still can't get it right...
Not sure where exactly where to enter the groupIndx...and how do I set the label?

315
Help for ParamQuery Pro / Re: pqSelect single select
« 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

Pages: 1 ... 19 20 [21] 22 23 24