SharePoint list integration
SharePoint list integration
![vhd](https://secure.gravatar.com/avatar/498f5e68922487e543b069d2c423d2d6/?default=https%3A%2F%2Fvanillicon.com%2F498f5e68922487e543b069d2c423d2d6_200.png&rating=g&size=120)
Hi,
I found out about datatables from a sharepoint workshop and was blown away visually and functionally.
I've just started learning HTML, JQuery, CSS but my knowledge is not enough to implement what i am trying to do.
I am working on sharepoint 2010 issue tracker that i have put onto a web-part page.
I want to add the datatable look and filter option to my issue tracker but cant seem to do it.
Please Help :(
This discussion has been closed.
Answers
It can be done, but it is a big task to make it refined.
First, you'll need to understand REST calls to your list. This provides JSON formatted data that you use as the data source.
If you plan to be able to update through DT, you'll need the Editor library. Not free, but definitely not expensive.
In general, you need a text file in a content editor web part. That text file should call in any js & css files that you need. Then it needs to have the basic HTML table layout. You invoke the REST call through JQuery's getJSON and pass the results to datatables for processing. Easy Peasy :)
The basic code looks something like this (drop this into a .txt file):
There was a lot of copy/paste hacking, so I hope I didn't get any typos in that.
After that, everything else is DT configuration. Get that working before thinking about Editor.
The debugger in Chrome is a must.
I think this is what I'm looking for. I'm trying to import data from an O365/SharePoint Online list onto a page in a regular GoDaddy page.
Is this what I would use?
Much appreciated!!