Server side scroller + search and ordering
Server side scroller + search and ordering
Ponchia
Posts: 6Questions: 3Answers: 0
Hi all again!
I have a table with around 1500 results, and I use server side processing. Is this ok? for the few number of records that I have I mean.
Anyway, I enabled scroller and it works fine, like the example.
Now my question is, I can also enable serach and ordering?
This is my code:
$('#t_clienti').dataTable({
ordering: true,
searching: true,
"processing" : true,
"serverSide" : true,
"ajax" : "scripts/Clienti/tabellaClienti.php",
dom: "rtiS",
scrollY: 200,
scroller: {
loadingIndicator: true
}
});
But I can't see the searc box
Sorry if it's a dumb question
This discussion has been closed.
Answers
I'm not very familiar with using the dom option but that is probably what is causing it. Maybe try adding f to it,
dom: "rtifS"
? Just a guess. If that doesn't work, I bet removing that whole option would restore your filtering input.