Access data after loading from ajaxSource
Access data after loading from ajaxSource
jacobruvalcaba
Posts: 10Questions: 6Answers: 0
I have a simple question, after you load data to the table from an ajaxSource, can you access that data later
For example I have
```$(document).ready(function() {
dataTable = $('#example').dataTable( {
"bProcessing": true,
retrieve: true,
//"bServerSide": true,
"sAjaxSource": "GetData",
aoColumns: [
{ mData: 'id' },
{ mData: 'name' },
{ mData: 'age' }
]
} );
} );```
GetData outputs the data in a json format . Can I use jquery to access this json data. For example, on a click of a button can I view the number of counts of people who are older than 25
This discussion has been closed.