Tag Archives: Criteria

Grails Criteria Query with DataTables


Grails Criteria Query with DataTables This tutorial is about how to integrate Grails criteria query with DataTables pagination, filtering and sorting. Grails version: 2.4 DataTables version: 1.10 Controller Controller needs to parse request parameter to map DataTables to Grails criteria parameters. class HomeController {         def list() {         def orderIndex = params.“order[0][column]”         def index = “columns[“ + orderIndex […]

https://shunchaowang.wordpress.com/2015/04/01/grails-criteria-query-with-datatables/