Solved

Jquery

Posted on 2014-02-13
1
142 Views
Last Modified: 2014-02-17
what is a mdata prop ???? can somebody clarify it.........

$.ajax({url: "${pageContext.request.contextPath}/cmAdmin/showCensus", dataType: 'json', cache: false, data: {censusDate:$('#censusDate').val()}, success: function(data) {
  oTable = $('#showCensusTable').dataTable( {
   "bProcessing": true,
   "bSort": true,
   "bDestroy": true,
   "aaData": data,
   "sDom":  '<"H"lfrp>t<"F"ip>',
   "oLanguage": {
    "sEmptyTable": "No Census available.",
    "sZeroRecords": "No Census match."
   },
   "aoColumns": [
    {
     "mDataProp": "censusMemberLk.memberName",
     "sClass": "memberName",

Open in new window

0
Comment
Question by:roy_sanu
1 Comment
 
LVL 56

Accepted Solution

by:
Julian Hansen earned 310 total points
ID: 39858485
Take a look at the Datatables Wiki here

mDataProp - now called mData

This blog post also has some background information
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question