|
<< Click to Display Table of Contents >> Navigation: Forum > Datatables with Ajax |
08-16-2022, 06:00 AM:
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?
08-22-2022, 06:47 AM:
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....