Error while using datatable in sharepoint.
Error while using datatable in sharepoint.
Shankar_Gururaja
Posts: 2Questions: 0Answers: 0
Hi,
I tried a sample application(created an HTML page) which uses jquery.datatables.js and it works fine. but when i try that in my sharepoint webpart page it doesnt work. Maybe some issues when passing the table id. I am using a list view(which comes as a web part) and passing the GUID of that list as shown below:
oTable = $('#EF691F5C-EC3F-4BB4-BD10-9515E810DCBC').dataTable();
Can any one please tell me if this approach is right. I am new to jquery.
I tried a sample application(created an HTML page) which uses jquery.datatables.js and it works fine. but when i try that in my sharepoint webpart page it doesnt work. Maybe some issues when passing the table id. I am using a list view(which comes as a web part) and passing the GUID of that list as shown below:
oTable = $('#EF691F5C-EC3F-4BB4-BD10-9515E810DCBC').dataTable();
Can any one please tell me if this approach is right. I am new to jquery.
This discussion has been closed.
Replies
I am able to understand the problem. The datatable operations dont work if there is a table inside a table. can some one come up with the solution to this problem?
Thanks in advance.