Find Jobs
Hire Freelancers

Custom datatables.net sort function where cell has two values

$10-30 USD

Completato
Pubblicato più di 6 anni fa

$10-30 USD

Pagato al completamento
I am using [login to view URL] and after the table is initialized in one column the cells "td" elements have the following html within. <td> <h4 data-pos="5">5</h4> <span data-second="-4">-4</span> </td> I have a custom drop down in the table header with two buttons. Each button's click event is linked to this column and the associate data attributes. On click I would like the column to be sorted by either data-pos or data-second depending on the button clicked, when clicked again it will sort in ASC then DESC. So you will need to write a function to get the data attributes and either re order the table or sort the table by these values. You may find this helpful [login to view URL] [login to view URL]() [login to view URL]() My table builds from a JSON response from server. I would like you to use static data using my example above in jsfiddle and show your work. Thank you
Rif. progetto: 15424917

Info sul progetto

3 proposte
Progetto a distanza
Attivo 7 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
Assegnato a:
Avatar dell'utente
Hi there. I can do your datatable sorting project within a couple of hours. Thanks Relevant Skills and Experience javascript Proposed Milestones $25 USD - Final
$25 USD in 0 giorno
5,0 (241 valutazioni)
6,3
6,3
3 freelance hanno fatto un'offerta media di $35 USD
Avatar dell'utente
hello there,i have datatable experience.i can add sort functions thank you
$29 USD in 1 giorno
4,8 (53 valutazioni)
5,4
5,4

Info sul cliente

Bandiera: UNITED STATES
Mount Sinai, United States
5,0
27
Metodo di pagamento verificato
Membro dal lug 30, 2010

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.