Solved

Jquery

Posted on 2014-02-13
1
139 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 54

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Requirements JQuery 1.6+ HTML CSS Introduction This article was inspired by an EE question (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28372511.html) on how to make a page show some balloons animate up a page…
PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
The viewer will learn how to dynamically set the form action using jQuery.
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)

810 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