Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Datatables with Ajax
#1
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?
Reply
#2
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....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)