Solved

Jquery

Posted on 2014-02-13
1
135 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 53

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

DOM Attributes and Properties treatment with jQuery 1.6 by Ivo Stoykov jQuery (http://jquery.com/) 1.6 introduces .prop() (http://api.jquery.com/prop/) and .removeProp() (http://api.jquery.com/removeProp/) methods which allow modifying or removi…
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 how to dynamically set the form action using jQuery.
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now