Answered by:
update Sharepoint list and refersh/reload data on datatable (bootstrap)

Question
-
Hi,
I have created table like this
$(document).ready(function () {
$('#tbldocApproved').DataTable({
"lengthMenu": [[5, 25, 50, -1], [5, 25, 50, "All"]],
"pagingType": "simple_numbers",
destroy: true
});
});after inserting/updating record I can make those changes on particular row using
$(rowid).remove() //// and so on
problem:
I want to refresh datatable, I am trying to use like this "tbldocApproved'" its id of html table which is created like this
<table id="tbldocApproved" class="table table-striped table-bordered table-sm" cellspacing="0" width="100%">---
---
</table>
I used this to refresh datatable:
var ref = $('#tbldocApproved').DataTable();
ref.ajax.reload(null, false);
its giving below error
Thanks
- Moved by Wendy DZMicrosoft contingent staff Friday, May 3, 2019 7:14 AM Datatable plugin better post in https://datatables.net/forums/categories/datatables
- Edited by qasimidl Wednesday, May 22, 2019 7:41 AM
- Moved by Dave PatrickMVP Monday, June 3, 2019 9:35 PM looking for forum
Thursday, May 2, 2019 1:37 PM
Answers
-
Then I'd probably try over here.
https://forums.asp.net/1022.aspx/1?ASP+NET+AJAX+Ajax+Control+Toolkit+ACT+
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP Saturday, June 8, 2019 12:18 AM
- Marked as answer by Richard MuellerMVP Friday, June 14, 2019 12:57 PM
Friday, June 7, 2019 7:54 PM
All replies
-
is any one can help me on this please..Tuesday, May 21, 2019 8:28 AM
-
is any one can help me out this or guide meWednesday, May 22, 2019 6:03 AM
-
still waiting for helpMonday, June 3, 2019 9:03 PM
-
Depending on the technology you're going to use I'd ask for help here.
https://social.msdn.microsoft.com/Forums/en-US/home?forum=winforms
https://social.msdn.microsoft.com/Forums/en-US/home?category=vslanguages
https://social.msdn.microsoft.com/Forums/en-US/home?category=netdevelopment
https://stackoverflow.com/questions/tagged/json
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Guido Franzke Tuesday, June 4, 2019 7:09 AM
Monday, June 3, 2019 9:35 PM -
i am using Sharepoint with visual studio and custom web part.
created web api on aspx page and calling it using ajax .. this is what I am doing
Friday, June 7, 2019 7:46 PM -
Then I'd probably try over here.
https://forums.asp.net/1022.aspx/1?ASP+NET+AJAX+Ajax+Control+Toolkit+ACT+
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP Saturday, June 8, 2019 12:18 AM
- Marked as answer by Richard MuellerMVP Friday, June 14, 2019 12:57 PM
Friday, June 7, 2019 7:54 PM