Modifiying the sort event
Modifiying the sort event
legolas8920
Posts: 5Questions: 0Answers: 0
Hello guys. I've been using DataTables plugin for some time now, and in a current project i need to modify the way in which DataTables sorts columns with a function of my own. I was thinking if there was a way to do this? Any thought would be appreciated.
Thanks.
Thanks.
This discussion has been closed.
Replies
It likely won't be particularly trivial to do, and I'm afraid I don't have an example, but it is possible.
One other approach that I've sometimes taken is to have a hidden column which has fixed sorting applied to it, and it is just a numeric column which described the grouping (0, 1, 2 etc).
Allan
Thanks for your response in such a short notice. I think i will give it a try, but right now i'm gonna put this on hold. I will probably post later if i got a way to do this. Thank you for the idea about how to do it now i have a place to start.