goja-web/src/main/java/goja/mvc/Controller.java
protected <E> void renderDataTables(DTCriterias criterias, Page<E> datas) {
        Preconditions.checkNotNull(criterias, "datatable criterias is must be not null.");
        DTResponse<E> response =
                DTResponse.build(criterias, datas.getList(), datas.getTotalRow(), datas.getTotalPage());
        renderJson(response);
    }
protected <E> void renderDataTables(DTCriterias criterias, Page<E> datas) {
        Preconditions.checkNotNull(criterias, "datatable criterias is must be not null.");
        DTResponse<E> response =
                DTResponse.build(criterias, datas.getList(), datas.getTotalRow(), datas.getTotalPage());
        renderJson(response);
    }
protected < E > void renderDataTables ( DTCriterias criterias , Page < E > datas ) { Preconditions . checkNotNull ( criterias , "datatable criterias is must be not null." ) ; DTResponse < E > response = DTResponse . build ( criterias , datas . getList ( ) , datas . getTotalRow ( ) , datas . getTotalPage ( ) ) ; renderJson ( response ) ; }
According to the request information of jquery.Datatables, the results of the query and
returns the JSON data to the client. <p/> The specified query set the data.

@param datas     The data.
@param criterias datatable criterias.
@param <E>       Generic parameter.
According to the request information of jquery . Datatables the results of the query and returns the JSON data to the client . <p / > The specified query set the data .