Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
Hi babynus,
I would like to add a customised filter on top of the list, next to id and name filter.
Despite my hard work, I still can't add a working filter.
I was able to add the field needed and link it with refreshJsonList, but then I don't understand how to make it work...
When I enter somthing, it refreshes the display, but it does not filter anything.
Do you have a hint for me ?
Thank you in advance.
Hi,
I should have a llok, but I thnik that calling the refreshJsonList is not enough as it uses fixed parameters in the url.
So you have to take these into account.
Id did add my own condition on the dijit id to update the url but it did not work better.
Something like :
if ( dijit.byId('listMyVariableFilter') ) {
if (dijit.byId('listMyVariableFilter').get("value")!='') {
url = url + "&MyVariable=" + dijit.byId('listMyVariableFilter').get("value");
}
}
Yep !
Now you have to catch this parameter and treat it in jsonQuery.php.
Ok thanks Babynus 🙂 I'll do this later when I have the time and let you know.
For now I have to import xlsx and I'm hard working on it.
I managed to add my filters ! In fact it was quite simple since you pointed the jSonQuery.php file !
Thank you Babynus for your help.