В роботі

Custom [url removed, login to view] sort function where cell has two values

I am using [url removed, login to view] 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

[url removed, login to view]

[url removed, login to view]()

[url removed, login to view]()

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

Навички: Програмування на C#, HTML, Javascript, jQuery / Prototype, PHP

Показати більше: postgresql custom sort function, javascript custom sort function, best custom controls net, custom dot net nuke templates, autocomplete custom source net, net sort grid, net sort date, javascript sort function, net sort items datagrid, excel macro sort function, custom computer creator sort order, oscommerce custom computer creator sort order, net image function, wordpress code sort function, php sort function

Про роботодавця:
( 10 відгуки(-ів) ) Mount Sinai, United States

ID проекту: #15424917

Доручено:

emreg

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 за 0 дні(-в)
(182 відгуків(-и))
6.1

5 фрілансерів(-а) подали заявки на цю роботу; середня заявка - $32

leavetop

hello there,i have datatable experience.i can add sort functions thank you

$29 USD за 1 день
(25 відгуків(-и))
4.5
$50 USD за 0 дні(-в)
(15 відгуків(-и))
4.3
Mickelson

Hi Nice to meet you I have enough experience in datatable plugin I want know more details You can check my profile and reviews Best regards Stay tuned, I'm still working on this proposal.

$25 USD за 1 день
(11 відгуків(-и))
3.8
syedhussaintaqvi

A proposal has not yet been provided

$30 USD за 3 дні(-в)
(0 відгуків(-и))
0.0