Two Data Sources in the same Json
Two Data Sources in the same Json
Hey guys, I don't have actually a problem. It is just a doubt that I didn't find on docs.
I have an Ajax based table and Json has 2 data sources, the first is only a date, the second is all the data. Here is it: http://myoption.com.br/dados/opcoes.json.
My doubt is: is it possible to show the first data source outside the table?
Here is an example link I created:
Link to test case: http://live.datatables.net/vobopizi/1/edit
Thanks in advance.
This question has an accepted answers - jump to answer
Answers
You can use the
json
parameter of theinitComplete
function to access thedata_ult
object. For example:http://live.datatables.net/vobopizi/2/edit
Kevin
This is it.
Thanks again, @kthorngren !