Solved

Jquery

Posted on 2014-02-13
1
133 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 51

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

by Julian Matz As of jQuery (http://jquery.com/) 1.4 the .live() method (http://api.jquery.com/live/) supports custom events as well as some standard JavaScript events that it previously didn't support. Among these is the submit event. Unlike …
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
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…

758 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

17 Experts available now in Live!

Get 1:1 Help Now