Solved

Datatable not rendering when calling function

Posted on 2014-10-24
1
207 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

760 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

18 Experts available now in Live!

Get 1:1 Help Now