How to use ajax property of datatable to return data from .net web service
How to use ajax property of datatable to return data from .net web service

Hi,
I want to populate data table from web service using ajax property so data table can still do client side processing.
I am thinking something like this:
$('#example').dataTable( {
"ajax": {
"url": "../.NET webservice",
"type": "POST"
}
} );
- Can I do this ?
Data returned from .NET needs to be an array , is that right ?
{
"data": [
[
"Tom", "Utah", "Koala", "Kite"],["Bob", "New Mexico", "Kangaroo", "Kite"]
] }
Thanks,
Kshipra
This discussion has been closed.