Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82694

Server-side complex ordering e.g.(cast `col` as unsigned)

$
0
0

Greetings,
My question is related to this one:
https://datatables.net/forums/discussion/42315

Was this functionality added ?
Because indeed sometimes we need to perform complex sql sorting commands in serverside processing, whether to write them in the php or in the javascript file (in the ajax request). just like the example that post provided:

Order("Cast(WorkTime as date) asc, DateAdd(hour, -8, Cast(WorkTime as time)) asc")

How can this be accomplished using server-side processing? providing column number and direction only can't handle it.


Viewing all articles
Browse latest Browse all 82694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>