View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Add filters - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

Add filters

More
20 Mai 2013 09:59 - 20 Mai 2013 10:02 #1 by LEVA
Add filters was created by LEVA
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.
Last edit: 20 Mai 2013 10:02 by LEVA.

Please Connexion or Create an account to join the conversation.

More
20 Mai 2013 17:04 #2 by babynus
Replied by babynus on topic Re: Add filters
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.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
21 Mai 2013 08:38 #3 by LEVA
Replied by LEVA on topic Re: Add filters
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"); 
      }
    }

Please Connexion or Create an account to join the conversation.

More
21 Mai 2013 14:20 #4 by babynus
Replied by babynus on topic Re: Add filters
Yep !

Now you have to catch this parameter and treat it in jsonQuery.php.

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: LEVA

Please Connexion or Create an account to join the conversation.

More
21 Mai 2013 14:29 #5 by LEVA
Replied by LEVA on topic Re: Add filters
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.

Please Connexion or Create an account to join the conversation.

More
27 Mai 2013 12:32 #6 by LEVA
Replied by LEVA on topic Re: Add filters
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.

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.037 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.