How to Sort multiple elements of different type in jquery data table from Javascript


+3 votes
asked Feb 29, 2016 by volkdep (760 points)
I have scenario to sort column having multiple type of elements, drop-down list and string(HTML) type. I want to sort that particular column containing drop-down list and HTML type of data.

5 Answers

0 votes
answered May 20, 2016 by The_bergstro (600 points)
 
Best answer
For more information, please go to DataTables example - Multi-column ordering
I will post code sample later
commented May 21, 2016 by Ramming (160 points)
This seems unbreakable. For more information please take a look at following answer
commented May 22, 2016 by Highly (540 points)
It will change all backgrounds of the charts to transparent
+1 vote
answered May 20, 2016 by ohv_5810 (530 points)

The latest data that has been loaded is shown below.
0 votes
answered May 20, 2016 by Va_It (280 points)

Use this jquery tablesorter script for any table on your web page.
Simple and easily customizable JQuery sorter.
Any type of data like numbers, string, date, currency, time can be sorted.
+1 vote
answered May 20, 2016 by sbe_very (220 points)

Call data biding function of the gridview in Page Load event.
commented May 21, 2016 by Schreder_di (270 points)
Features Table with multiple columns can be sorted very quickly
0 votes
answered May 20, 2016 by Pearline_40 (140 points)
I was having this issue with a nested project that built a static library. You can also take help from following thread XSLT Element - W3 Schools Sort
commented May 21, 2016 by Compiler (470 points)
Just encountered this issue

Related questions

+2 votes
4 answers
+1 vote
4 answers
0 votes
4 answers
asked Mar 14, 2016 by Changed (620 points)

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...