Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Class to generate json format to be used by plug-in Jquery EasyGrid process from a pojo class
Java
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/com/cocento/commons/ajax/easygrid
test/com/cocento/commons/ajax/easygrid
.classpath
.gitignore
.project
LICENSE.txt
README.md
gson-1.5-sources.jar
gson-1.5.jar
joda-time-1.6.2.jar
mirror-1.5.1.jar

README.md

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.

Something went wrong with that request. Please try again.