Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35319

How do I sort my datatables result

$
0
0

Hi,

I have the following code:

$(document).ready(function() { $('#services').dataTable( { "ajax": { "url": "/wm-actional-db-mon/NumberOfNodesJSON?environment=<%=request.getParameter("environment")%>&numberOfInstances=<%=request.getParameter("numberOfInstances")%>" } } ); } );

How can I sort the result desc on column 4.

Looked at the sample that shows: $('#example').dataTable( { "order": [[ 3, "desc" ]] } );

Any help is will be much appreciated.


Viewing all articles
Browse latest Browse all 35319

Trending Articles