[TYPO3-english]  Re:  Datatables Serverside Processing in Typo3 (via Templavoila) / PHP issue
    Markus Philipp 
    factsheet at gmx.de
       
    Mon Apr 13 17:59:17 CEST 2015
    
    
  
Thanks for all the hints! Fair to say that I just started, but I'll try to look into the different methods. For the time being, I changed the rendering to ... 
return json_encode( $output ); 
.. and the data is now rendered at the marker, but unfortunately still not in the table. *CRY*. Live example (incl. syntax showcase): 
http://www.rfpfactsheet.com/rfp-issuer/a001-finance-factsheet/rfp-id-a001/live-example/
Syntax used: 
<script type="text/javascript">         
    $(document).ready(function() {
      $('#example').dataTable( {
		"processing": true,
		"serverSide": true,
		"ajax": {"sEcho":0,"iTotalRecords":"6","iTotalDisplayRecords":"6","aaData":[["1","Hans","Meier","51","2011-04-13","EUR200"],["2","Frank","Heinz","45","2004-02-17","EUR60"],["3","Katrin","Kohl","35","2011-08-17","EUR1000"],["4","Werner","Pertl","39","2013-11-19","USD499"],["5","Christina","Sinn","22","2015-03-09","GBP99"],["6","Klaus","Vienna","67","1991-01-15","EUR5000"]]}
      } );
    } );
</script>
Error message: 
"Invalid JSON response" although jsonlint.com says it's valid. *CRY again*
I also activated caching again.  
//* ... you have to have at least 3 comments/posts to include a link in the forum *//
    
    
More information about the TYPO3-english
mailing list