#{extends 'main.html' /} #{set title:'Home' /} #{set 'moreScripts'} #{tabularasa.init addScriptTag:true, tableId:tableModel.tableId, tableModel:tableModel, selectAllControlId:'selectAll', selectAllName:'targets'} var ${tableModel.tableId}Parameters = { "sAjaxSource": "@{PersonController.data()}", "bProcessing": true, "bServerSide": true, "sNames": [""] }; #{/tabularasa.init} #{/set} #{tabularasa.table tableModel:tableModel, cssClass:'display', selectAllControlId:'selectAll' /} *{ Everything below this line is here for the demo, it's not required in your app }*
Non-AJAX example