Solved

Jquery

Posted on 2014-02-13
1
148 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 57

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

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…
How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
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…

695 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