unable to load the data to the table by using table.ajax.url(url).load() method

unable to load the data to the table by using table.ajax.url(url).load() method

MohanKumarMohanKumar Posts: 1Questions: 1Answers: 0

i have written code like
var table = $('.datatable').dataTable({
"retrieve": true,
"processing": true,
"serverSide": true,
"paginate": false,
"scrollY": 340,
"dom": '<f<t>>',
"ajax": {
url: url1,
dataSrc: 'd.results'
},
"columns": [
{ "data": inboxInfo.popupFilterProp,
"render": function ( data, type, row, meta ) {
return '<a class="filterTag" href="#">' + data + '</a>';
}
}
]
});
table.ajax.url( 'url1' ).load();
return false;
});

but it is giving undefined url error

This discussion has been closed.