sweetdev-ria-el
Tag simplegrid


Description : Display a simplegrid, using the simple tag structure implementation. Nested in tag : any.


Tag Information
Tag Classcom.ideo.sweetdevria.taglib.el.ELSimpleGridTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameSimple Grid

Attributes
NameRequiredRequest-timeTypeDescription
collectionfalsetruejava.util.CollectionThe collection to iterate over. Use it with the var attribute to target the data. This attribute must not be filled if the dataProvider does not require a collection evaluation.
dataProviderfalsetruecom.ideo.sweetdevria.taglib.grid.data.IGridDataProviderThe data provider accessing to the data of this grid. If the dataProvider does not require a collection evaluation, either this attribute OR the collection attribute must be filled.
varfalsetruejava.lang.StringSet a request session variable containing the data stored in the collection during the iteration.
rowPerPagefalsetrueintSet the minimum number of row to display per page.
rowCountVarfalsetruejava.lang.StringSet the variable name where will be stored the current row count during the iteration over the rows.
minimalColumnWidthfalsetrueintThe minimal width for a column. [10(default)].
idtruetruejava.lang.StringThe id of the grid
minHeightfalsetruejava.lang.StringThe new min height constraint for the resize (in pixels)
maxHeightfalsetruejava.lang.StringThe new max height constraint for the resize (in pixels)
minWidthfalsetruejava.lang.StringThe new min width constraint for the resize (in pixels)
maxWidthfalsetruejava.lang.StringThe new max width constraint for the resize (in pixels)
constraintIdfalsetruejava.lang.StringThe container identifiant
onSortColumnfalsetruejava.lang.StringSet the name of the javascript function to be called when a datagrid column is sorted.
onSelectRowfalsetruejava.lang.StringSet the name of the javascript function to be called when a datagrid row is selected.
onUnselectRowfalsetruejava.lang.StringSet the name of the javascript function to be called when a datagrid row is unselected.
onSelectCellfalsetruejava.lang.StringSet the name of the javascript function to be called when a datagrid cell is selected.
onUnselectCellfalsetruejava.lang.StringSet the name of the javascript function to be called when a datagrid cell is unselected.
onSetDatafalsetruejava.lang.StringSet the name of the javascript function to be called when the datagrid data are modifed.
onShowColumnfalsetruejava.lang.StringSet the name of the javascript function to be called when a datagrid column is showed.
onHideColumnfalsetruejava.lang.StringSet the name of the javascript function to be called when a datagrid column is hide.
onCheckRowfalsetruejava.lang.StringSet the name of the javascript function to be called when a datagrid row is checked.
onUncheckRowfalsetruejava.lang.StringSet the name of the javascript function to be called when a datagrid row is unchecked.
onResizefalsetruejava.lang.StringSet the name of the javascript function to be called when a datagrid is resized.
onMoveColumnfalsetruejava.lang.StringSet the name of the javascript function to be called when a datagrid column is moved.
onChangePagefalsetruejava.lang.StringSet the name of the javascript function to be called when the user change page.
heightfalsetruejava.lang.StringThe height of the grid, formatted as an Integer (in pixels)
heightHeaderfalsetruejava.lang.StringThe height of the grid's headers, formatted as an Integer (in pixels)
heightRowfalsetruejava.lang.StringThe height of the grid's rows, formatted as an Integer (in pixels)
resizablefalsetruebooleanThe resizeability of the grid. Default is true.
rowWrapfalsetruebooleanIf true, the row data will be wrap. Default is false
rowSelectablefalsetruebooleanThe visibility of the row selector of the grid. Default is false.
selectionModefalsetruejava.lang.StringThe selection mode of the grid. none : no selection (default), single: single row selection, multiple: multiple rows selection, cell: single cell selection, cells: multiple cells selection.
widthfalsetruejava.lang.StringThe width of the grid, formatted as an Integer (in pixels)
persistanceClassNamefalsetruejava.lang.StringThe persistance class used to save the grid columns state. By default, no persistance is provided. The class name provided here must extend com.ideo.sweetdevria.taglib.grid.persistance.IGridPersistanceController.
treeGridModelfalsetruecom.ideo.sweetdevria.taglib.grid.tree.model.TreeGridModelSet a tree model to render a tree grid. Incompatible with collection and dataProvider attribute.
groupByfalsetruejava.lang.StringThe groupBy properties allows you to group rows by a column value. Comma separated column ids. ex:'name,firstName'.
frameDisplayedfalsetruebooleanSpecify whether or not a frame should be displayed around the component. (true by default)
showPropertyButtonfalsetruebooleanSpecify whether or not the grid property button is shown. (true by default)
statefulfalsetruebooleanDefine whether this attribute must keep its state according to the page configuration
stylefalsetruejava.lang.StringCss style. Accepts EL.
styleClassfalsetruejava.lang.StringCss class style. Accepts EL.
renderedfalsetruebooleanRendered or not, acceptable values are: [true(default), false].
templateStartfalsetruejava.lang.StringSpecial velocity start template to replace default. Accepts EL.
templateEndfalsetruejava.lang.StringSpecial velocity end template to replace default. Accepts EL.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.