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


Messages In This Thread
Datatables with Ajax - by matija - 08-16-2022, 06:00 AM
RE: Datatables with Ajax - by Alexandre Machado - 08-22-2022, 06:47 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)