Data Table Sorting
Data Table Sorting
Hi,
I am new to data tables and from the reading found the following information like it is cabale of identify the data type and based on that will sort in client side.Now I am in a requirement where i need to do the server side processing for pagination and client side sorting how can i achieve this?
Basically my settings is like
$('#customers').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": document.URL,
"sServerMethod": "POST",
"aoColumns": [
{ "mDataProp": "LastName" },
{ "mDataProp": "FirstName" },
{ "mDataProp": "Age" },
{ "mDataProp": "Birthday" },
{ "mDataProp": "PhoneNumber"}]})
Please help!!!!
Thanks,
Ajai
I am new to data tables and from the reading found the following information like it is cabale of identify the data type and based on that will sort in client side.Now I am in a requirement where i need to do the server side processing for pagination and client side sorting how can i achieve this?
Basically my settings is like
$('#customers').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": document.URL,
"sServerMethod": "POST",
"aoColumns": [
{ "mDataProp": "LastName" },
{ "mDataProp": "FirstName" },
{ "mDataProp": "Age" },
{ "mDataProp": "Birthday" },
{ "mDataProp": "PhoneNumber"}]})
Please help!!!!
Thanks,
Ajai
This discussion has been closed.