Skip to content
Pedro Laxe edited this page Sep 3, 2013 · 8 revisions

Welcome to the Jqgrids wiki!

Português Brasil - PT-BR

Para utilizar a biblioteca é bem simples, a função de adicionar um grid simples por exemplo é: $("ID OU CLASSE AQUI").AddCaixaGrid('ID DO GRID', 'CLASSE CSS jqgrids', 'IMAGEM DO ICONE', 'LEGENDA DO GRID', 'FUNÇÂO JAVASCRIPT');

2º valor ID DO GRID: Pode ser qualquer valor
3º valor CLASSE CSS: Existem classes disponíveis em nosso CSS, mas nada impede de criar novas!
4º valor IMAGEM DO ICONE: Você pode utilizar ícones até 64px de largura e 55px de altura.
5º valor LEGENDA DO GRID: A legenda é o texto abaixo da imagem do ícone
6º valor FUNÇÂO JAVASCRIPT: Pode ser qualquer coisa desde um alert até um window.open!

lista das funções abaixo
1ª AddCaixaGrid - Mostrada acima
2ª AddCaixaDuplaGrid - Mesmas funções da acima, mas criar uma caixa dupla
3ª AddTextoCaixa - Mesma função da primeira mas adiciona uma caixa com label grande e icone ao lado
4ª AddDuasCaixasComBG - Mesmas funções da primeira, mas tem background no fundo e tem label de barra abaixo

Necessita da Biblioteca Jquery 1.10, versões superiores ainda não testadas.
Para melhor carregamento dos grids utilize as versões de jquery Minifield

English US

To use the library is pretty simple, the function of adding a grid simple example is:
$("YOUR ID HERE OR CLASS").AddCaixaGrid('ID OF GRID', 'CSS CLASS TO jqgrids.css', 'ICON IMAGE', 'LEGEND OF GRID', 'JAVASCRIPT FUNCTION');

2nd value ID THE GRID: Can be any value
3rd value CSS CLASS: There are classes available in CSS, but nothing prevents you from creating new!
4th value IMAGE ICON: You can use icons to 64px width and 55px height.
5th value LEGEND OF GRID: The caption is the text below the icon image
6th value JAVASCRIPT FUNCTION: It can be anything from one to a window.open alert!

list of functions below
1st AddCaixaGrid - Shown above
2nd AddCaixaDuplaGrid - Same functions as above, but create a double box
3rd AddTextoCaixa - Same function as the first but adds a box with big label and icon beside
4th AddDuasCaixasComBG - Same functions of the first, but it has deep background and has label bar below

Need Jquery Library 1.10, higher versions untested.
To better loading of grids use the versions of jquery Minifield

Clone this wiki locally