Solved

Datatable not rendering when calling function

Posted on 2014-10-24
1
211 Views
Last Modified: 2014-10-24
Hi all,

Please help.  I am using datatables plugin to render a table from array and object.  The first jsfiddle below works fine but the 2nd does not.  The only difference is that the 2nd fiddle uses a function to call the datatable.


Rendering datatable
http://jsfiddle.net/7d9pceor/11/



Using a function to call my dataTable but not working
http://jsfiddle.net/7d9pceor/12/
0
Comment
Question by:Isaac
1 Comment
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 40403059
check here : http://jsfiddle.net/7d9pceor/13/

line 35 :
/*"aoColumns": [    
instead :
/"aoColumns": [
0

Featured Post

How our DevOps Teams Maximize Uptime

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

Question has a verified solution.

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

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
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…

839 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