Carregando...
TagriaLib Documentation v4
grid
AttributeRequiredTypeDescription
datatruejava.lang.ObjectIt indicates the collection to be iterated by the component. Single objects is converted to Collection using immutable Arrays.asList(...)
vartruejava.lang.StringIt indicates the name of the variable java to be made available the object of iteration
varStatusfalsejava.lang.StringIt indicates the name of the variable to be available to current iteration
labelfalsejava.lang.StringIndicates the label component
labelKeyfalsejava.lang.StringIndicates the label key (i18n)
urlfalsejava.lang.StringIndicates the url component a ser utilizada caso haja paginação
renderedfalsejava.lang.BooleanIt indicates whether the component should be rendered
noRowTextfalsejava.lang.StringIndicates the component title when there are no lines available
noRowTextKeyfalsejava.lang.StringIndicates the component title key (i18n) when there are no lines available

My grid

Column 1 Column 2 Column 3
BQYoXMvnKm
0
OCpkbhQsXr
1
trrwznWHcG
0
xdnQHKVzOC
1
JIVEjFJvdI
0
pHXjrGBLWF
1
aWWdpscfGK
0
onVwinvgbe
1
gGBngaBVSf
0
oKlsTzimUx
1
CdRErcTjse
0
xyeHggAGwN
1
GYMhbTeQCz
0
zvzqXKKIds
1
MORtayjVwf
0
YMaFXZTgEJ
1
pPvKElSviv
0
qjqbkHEjIa
1
gxExFLOBog
0
YASsHwiGxf
1
Mostrando 1 - 20 de 20
<html:view>
			<html:grid var="person" data="${ persons }" label="My grid">
				<html:gridExport/>
				<html:gridPaginate totalResults="${ totalResults }"></html:gridPaginate>
				<html:gridSearch/>
				<html:gridToolbar>
					<html:alert state="danger">my toolbar</html:alert>
				</html:gridToolbar>
				<html:gridHeader>
					<html:gridColumn label="Column 1" align="left" exportable="true"></html:gridColumn>
					<html:gridColumn label="Column 2" align="center" exportable="true"></html:gridColumn>
					<html:gridColumn label="Column 3" align="center" exportable="true"></html:gridColumn>
				</html:gridHeader>
				<html:gridBody>
					<html:gridColumnData align="right" exportable="true">
						${ person.name }
					</html:gridColumnData>
					<html:gridColumnData align="center" exportable="true" >
						${ person.likeChocolate }
					</html:gridColumnData>
					<html:gridColumnData align="center" exportable="true" collapsable="true">
						${ person.cpf }
					</html:gridColumnData>
				</html:gridBody>
			</html:grid>
		</html:view>