Refresh Data automatically ???
Refresh Data automatically ???
saad90
Posts: 3Questions: 1Answers: 0
HI,
Is that the Datatable will automatically refreshes after it receives the data coming from the business layer (.Net MVC )
Tks
This discussion has been closed.
Answers
No, but you can use
clear()
androws.add()
to update the DataTable based on new data that you get via Ajax, a WebSocket or anything else.Allan
ok thanks and what about use Datatable plugin for Angular ??
http://l-lin.github.io/angular-datatables/archives/v0.4.x/#/serverSideProcessing
I couldn't say, I'm not that author of that package I'm afraid.
Allan
ok Let me explain you my situation.
i have to build a new application in mongoDB C# .Net . (MVC)
i will get the data from server side and display it in datatable automatically without refresh the page.
so can you advice me ?
Thanks LOT
Well if you are getting the data via DataTables'
ajax
option, then you could useajax.reload()
to reload from the data source.Allan