2.2.9.9 Salary Sorting in Team Roster
2.2.9.9 Salary Sorting in Team Roster
In team Roster when you try the sort the column of salary. It is not working properly by order Ascending or descending
-
- STHS Owner / Propriétaire du STHS
- Posts: 14798
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: 2.2.9.9 Salary Sorting in Team Roster
Hi.
I'm aware of this issue but there is not much I can about it. Since the STHS use Windows Local Currency Setting, there is alot of possible currency format, it's hard to sort them.
I'll try to see what I can do in the futur (In my To Do List).
I'm aware of this issue but there is not much I can about it. Since the STHS use Windows Local Currency Setting, there is alot of possible currency format, it's hard to sort them.
I'll try to see what I can do in the futur (In my To Do List).
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Re: 2.2.9.9 Salary Sorting in Team Roster
Simon, in your ProTeamRoster page change :
for :
Code: Select all
$(function(){$("table").basictablesorter()});
Code: Select all
$.tablesorter.addParser({
id: 'currency',
is: function(s) {
return false;
},
format: function(s) {
return s.replace(/[,$£€]/g,'').replace(/\s+/g, '');
},
type: 'numeric'
});
$(function() {
$("table").tablesorter({
headers: {
29: {
sorter:'currency'
}
}
});
});
-
- STHS Owner / Propriétaire du STHS
- Posts: 14798
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: 2.2.9.9 Salary Sorting in Team Roster
Ça fonctionne par contre, ça prend 3 secondes de plus pour loader la page de mon coté. J'utilise le BasicTableSorter pour ça. Quand j'utilise un Table Sorter plus évolué, ça prend toujours trop de temps pour processer toutes les données que j'ai dans tout les pages.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Re: 2.2.9.9 Salary Sorting in Team Roster
J'avais remarqué mais je ne ne suis pas penché sur la performance. Je pourrais faire un tour de roue pour trouver un moyen d'améliorer la performance.
-
- STHS Owner / Propriétaire du STHS
- Posts: 14798
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: 2.2.9.9 Salary Sorting in Team Roster
Pour ton information, j'utilise 2 types de Table Sorter.
Fork bien meilleur mais qui demande plus de processing -- http://mottie.github.io/tablesorter/docs/
Original -- http://tablesorter.com/docs/
Tu peux regarder la Fork aussi si tu veux t'amusé mais même le concepteur de la Fork m'a dit que j'avais juste trop de table pour ça soit performant.
Fork bien meilleur mais qui demande plus de processing -- http://mottie.github.io/tablesorter/docs/
Original -- http://tablesorter.com/docs/
Tu peux regarder la Fork aussi si tu veux t'amusé mais même le concepteur de la Fork m'a dit que j'avais juste trop de table pour ça soit performant.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Re: 2.2.9.9 Salary Sorting in Team Roster
C'est sur qu'habituellement ces outils sont fait pour une ou deux tables par page. Je te reviens avec ce que j'aurai trouvé.
Re: 2.2.9.9 Salary Sorting in Team Roster
Nothing good in my tests. The only way to have advanced sorting would be to have one page per team.
--
Rien de probant, dans le meilleur des mondes il faudrait créer une page par équipe pour permettre le tri avancé des colonnes.
--
Rien de probant, dans le meilleur des mondes il faudrait créer une page par équipe pour permettre le tri avancé des colonnes.
-
- STHS Owner / Propriétaire du STHS
- Posts: 14798
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: 2.2.9.9 Salary Sorting in Team Roster
You have the same conclusion that me. Maybe one day with a future PHP webpage then.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
-
- STHS Owner / Propriétaire du STHS
- Posts: 14798
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: 2.2.9.9 Salary Sorting in Team Roster
For those keeping up with this topic, this issue will be fix in 2.3.1.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English Manual - Manuel Français
Re: 2.2.9.9 Salary Sorting in Team Roster
SimonT wrote:For those keeping up with this topic, this issue will be fix in 2.3.1.
2.3.1 looks to have lots of interesting add-on