Ajax Call to Datatables config
Ajax Call to Datatables config
hi, im making an ajax get call where i'm providing a value from a text input field.
i do not want server side filtering just the ability to get a new dataset depending on the value i pass through the input text, which is a date that i'm searching for in the db.
i've getting back the aadata in the response but its not populating datatables, do i have my settings correct?
csurvey.RegionList = function() {
var oTable = $('#table2').dataTable({
"bProcessing": true,
"sAjaxSource": "/clientsurvey/marketingSurvey/planner2.html",
"sPaginationType": "full_numbers"
});
$('#rundate').keyup( function (){
oTable.fnFilter(this.value,6);
});
i do not want server side filtering just the ability to get a new dataset depending on the value i pass through the input text, which is a date that i'm searching for in the db.
i've getting back the aadata in the response but its not populating datatables, do i have my settings correct?
csurvey.RegionList = function() {
var oTable = $('#table2').dataTable({
"bProcessing": true,
"sAjaxSource": "/clientsurvey/marketingSurvey/planner2.html",
"sPaginationType": "full_numbers"
});
$('#rundate').keyup( function (){
oTable.fnFilter(this.value,6);
});
This discussion has been closed.