Find Jobs
Hire Freelancers

Custom datatables.net sort function where cell has two values

$10-30 USD

Opravljeno
Objavljeno pred več kot 6 leti

$10-30 USD

Plačilo ob dostavi
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
ID projekta: 15424917

Več o projektu

3 ponudb
Projekt na daljavo
Aktivno pred 7 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
Dodeljeno:
Avatar uporabnika
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 v 0 dnevu
5,0 (241 ocen)
6,3
6,3
3 freelancerjev je oddalo ponudbo s povprečno vrednostjo $35 USD za to delo
Avatar uporabnika
hello there,i have datatable experience.i can add sort functions thank you
$29 USD v 1 dnevu
4,8 (53 ocen)
5,4
5,4

O stranki

Zastava UNITED STATES
Mount Sinai, United States
5,0
27
Plačilna metoda je verificirana
Član(ica) od jul. 30, 2010

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.