Need to Load DataTable on an Event

Need to Load DataTable on an Event

apfanzapfanz Posts: 11Questions: 3Answers: 0

Test Case: http://live.datatables.net/qepomefo/6/edit

I have a situation where I don't want the datatable to load its data initially but after a certain event occurs. To simplify my example, I created a button in the test case with an onClick event that will be the event. My question is how do I assign a value such as a JSON array to the datatable's data source when the button is clicked? My problem is the datatable is not loading the data from the JSON array.

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.