Atozed Forums

Full Version: Datatables with Ajax
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have rawtext (IWLabel.Caption) for my json data.  

'{ "data": [ .... ] }'

I want this rawtext include in define of datatables (HTML template).

WebApplication.CallBackResponse.AddJavaScriptToExecuteAsCDATA('$(''#examples'').DataTable( {  "ajax": ' + rawtext + ',} );'); 

How? Recipe?
do you have the datatable in your page and wants just to update its data or do you want to render a completely new DataTable on that page? They require different approaches....