#{extends 'main.html' /} #{set title:'Home' /} #{set 'moreScripts'} #{tabularasa.init addScriptTag:true, tableId:tableModel.tableId, tableModel:tableModel, selectAllName:'targets', selectAllControlId:'selectAll' /} #{/set} #{tabularasa.table tableModel:tableModel, cssClass:'display', selectAllControlId:'selectAll'} #{list items:people, as:'person'} #{list items:tableModel.tableColumns, as:'column'} #{if column.visible} ${controllers.PersonController.getByColumnKey(person, column.columnKey)} #{/if} #{/list} #{/list} #{/tabularasa.table} *{ Everything below this line is here for the demo, it's not required in your app }*
AJAX example