protected void renderDataTables(DTCriterias criterias, String model_name) {
        Preconditions.checkNotNull(criterias, "datatable criterias is must be not null.");
        final Page<Record> datas = DTDao.paginate(model_name, criterias);
        DTResponse response =
                DTResponse.build(criterias, datas.getList(), datas.getTotalRow(), datas.getTotalRow());
        renderJson(response);
    }
protected void renderDataTables(DTCriterias criterias, String model_name) {
        Preconditions.checkNotNull(criterias, "datatable criterias is must be not null.");
        final Page<Record> datas = DTDao.paginate(model_name, criterias);
        DTResponse response =
                DTResponse.build(criterias, datas.getList(), datas.getTotalRow(), datas.getTotalRow());
        renderJson(response);
    }
protected void renderDataTables ( DTCriterias criterias , String model_name ) { Preconditions . checkNotNull ( criterias , "datatable criterias is must be not null." ) ; final Page < Record > datas = DTDao . paginate ( model_name , criterias ) ; 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 returns the results to the client.

@param model_name The Model name.
@param criterias  datatable criterias.
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 returns the results to the client .