DataTables: how to use multi sort column with end-user on mobile device
DataTables: how to use multi sort column with end-user on mobile device
a15752468
Posts: 2Questions: 1Answers: 0
i know if the end-user need sort by multi column, just press the shift key and mouse click on each column at the web page.
but if end-user is using smart phone or tablet, how to "press the shift key"
This discussion has been closed.
Answers
Hi @a15752468 ,
There's no easy way to do that right now, I'm afraid. As you say, you need to press the shift. You could write some custom code to define your own interaction, but there's nothing out the box to do this. I might have a stab at this over the weekend to see if I can do something, if I can, I'll post back here!
Cheers,
Colin
Thanks for your reply!
Hi @a15752468 ,
I finally found some time to take a look at this - this example here has got it working. Each click on a column now cycles through the three orderings (asc, desc and none). Hope it's not too late to be useful!
Cheers,
Colin