how to send the data and refresh the data in the table with post
how to send the data and refresh the data in the table with post
Januraj
Posts: 85Questions: 18Answers: 0
This question has accepted answers - jump to:
This discussion has been closed.
Answers
I don't understand your question. Seems like this is working:
it sends the
includeInactive
parameter with the value offalse
.Please provide more information of what you are trying to do.
Kevin
I got that @kthorngren
Thanks.
I have more one doubt, how to show a loader/spinner on the datatable while fetching records
Start with these threads asking the same question:
https://datatables.net/forums/discussion/comment/177525/#Comment_177525
https://datatables.net/forums/discussion/comment/181963/#Comment_181963
Kevin
I added datatableDefault["processing"] = true;
but it is not showing processing on table.
Is there anything that i have to add to make it working
Just that option, as the links that Kevin pointed to say. If it's not working, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
http://live.datatables.net/wilavabi/6/edit
Please find the test case here.
and i want to show the spinner instead of "processing"
I might be missing it but I don't see the code you tried. Please post a link to the test case showing the issue you are having with the spinner so we can help debug.
Kevin
@kthorngren I have posted the correct link http://live.datatables.net/wilavabi/8/edit
Sorry, I'm not seeing the code you are trying to use for the spinner. The threads I provided have multiple options. Which are you trying and does this example have that code?
Kevin
May be i am not explaining it to u properly.I am not able to see the "Processing....". This is server side table, on navigating from one page to another page. Not able to see "Processing..." even though i added "processing" : true.
http://live.datatables.net/wilavabi/8/edit
If u can look at the test case u can help me in this regard
I see. Thought you were trying to use one of the custom solutions. Your
dom
option is incorrect:You need to add
r
for the processing element. Here is the updated example:http://live.datatables.net/wilavabi/9/edit
Kevin
@kthorngren thanks so much for saving my time.
If i want to hide the entire table and show only the processing . what shuld i do?
Probably the easiest way would be to use the
processing
, and use jQuery'shide()
andshow()
,Colin
Thank you @colin , you guys are awesome