SharePoint listdata.svc.

SharePoint listdata.svc.

uwskier20uwskier20 Posts: 2Questions: 0Answers: 0
edited January 2013 in General
Has anybody attempted to pass data from SP's listdata.svc webservice to Data Tables. I am attempting to piece this together using other examples here, so no laughing! :-)

[code]










$('#demo').html( '' );

$.getJSON("/bibliography/_vti_bin/listdata.svc/PublicationsAndProposals_1/", null, function( json ) {
$('#example').dataTable( json );
} );










[/code]

What's missing? I suspect it's in the javascript above.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    edited January 2013
    What does the JSON returned from the server look like?

    Please link to a test case, otherwise we are just guessing: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read

    Allan
This discussion has been closed.