goja-web/src/main/java/goja/mvc/Controller.java
protected void renderDataTables(DTCriterias criterias, String sqlGroupName, List<Object> params) {
        Preconditions.checkNotNull(criterias, "datatable criterias is must be not null.");
        final Page<Record> datas = DTDao.paginate(sqlGroupName, criterias, params);
        DTResponse response =
                DTResponse.build(criterias, datas.getList(), datas.getTotalRow(), datas.getTotalRow());
        renderJson(response);
    }
protected void renderDataTables(DTCriterias criterias, String sqlGroupName, List<Object> params) {
        Preconditions.checkNotNull(criterias, "datatable criterias is must be not null.");
        final Page<Record> datas = DTDao.paginate(sqlGroupName, criterias, params);
        DTResponse response =
                DTResponse.build(criterias, datas.getList(), datas.getTotalRow(), datas.getTotalRow());
        renderJson(response);
    }
protected void renderDataTables ( DTCriterias criterias , String sqlGroupName , List < Object > params ) { Preconditions . checkNotNull ( criterias , "datatable criterias is must be not null." ) ; final Page < Record > datas = DTDao . paginate ( sqlGroupName , criterias , params ) ; DTResponse response = DTResponse . build ( criterias , datas . getList ( ) , datas . getTotalRow ( ) , datas . getTotalRow ( ) ) ; renderJson ( response ) ; }
According to the request information of jquery.Datatables, the results of the query and
returns the JSON data to the client. <p/> According to the SQL configuration file, in
accordance with the Convention model_name.coloumns\model_name.where\model_name.order
configured SQL to query and specify the parameters and return results to the client.

@param criterias    datatable criterias.
@param sqlGroupName The Model name.
@param params       Query parameters
According to the request information of jquery . Datatables the results of the query and returns the JSON data to the client . <p / > According to the SQL configuration file in accordance with the Convention model_name . coloumns \ model_name . where \ model_name . order configured SQL to query and specify the parameters and return results to the client .