From 1e1e8f01047f9ffa98ddc9d3446d774bedcbdb81 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 28 Oct 2010 22:07:03 +0100 Subject: [PATCH] New: Column names, if defined, are submitted to the server-side for server-side processing. This is useful for the column ordering information, since it is possible for the server to be expecting a different column order from what DataTables is using - specifically with the column indexes such as sSearch_{i}. --- media/js/jquery.dataTables.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 030f2b08..0cc33586 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -3157,6 +3157,15 @@ aoData.push( { "name": "iDisplayLength", "value": oSettings.oFeatures.bPaginate !== false ? oSettings._iDisplayLength : -1 } ); + /* Column names */ + for ( i=0 ; i