Skip to content

Class to generate json format to be used by plug-in Jquery EasyGrid process from a pojo class

License

Notifications You must be signed in to change notification settings

brunoadacosta/EasyGridObject

Repository files navigation

EasyGridObject

Como Usar

class Objeto { private String nome; // getters }

List lista = new ArrayList();

// Adicionado total de registros para paginação long totalDeRegistros =

EasyGridAjaxObject ajaxObject = new EasyGridAjaxObjectBuilder(lista, totalDeRegistros).setColumn("nome").create();

//serializar json usando Gson String json = new Gson().toJson(ajaxObject);

Exemplo de como utilizar com objetos encadeadas

https://github.com/brunoadacosta/EasyGridAjaxObject/blob/master/src/com/cocento/commons/ajax/easygrid/demonstration/Main.java

Direitos e Licença

Copyright (c) 2011 por Bruno Alvares da Costa. Lançado sob a licença MIT. Veja LICENSE.txt para mais detalhes.

About

Class to generate json format to be used by plug-in Jquery EasyGrid process from a pojo class

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages