| Attributes |
| Name | Required | Request-time | Type | Description |
| collection | false | true | java.util.Collection | The 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. |
| dataProvider | false | true | com.ideo.sweetdevria.taglib.grid.data.IGridDataProvider | The 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. |
| var | false | true | java.lang.String | Set a request session variable containing the data stored in the collection during the iteration. |
| rowPerPage | false | true | int | Set the minimum number of row to display per page. |
| rowCountVar | false | true | java.lang.String | Set the variable name where will be stored the current row count during the iteration over the rows. |
| minimalColumnWidth | false | true | int | The minimal width for a column. [10(default)]. |
| id | true | true | java.lang.String | The id of the grid |
| minHeight | false | true | java.lang.String | The new min height constraint for the resize (in pixels) |
| maxHeight | false | true | java.lang.String | The new max height constraint for the resize (in pixels) |
| minWidth | false | true | java.lang.String | The new min width constraint for the resize (in pixels) |
| maxWidth | false | true | java.lang.String | The new max width constraint for the resize (in pixels) |
| constraintId | false | true | java.lang.String | The container identifiant |
| onSortColumn | false | true | java.lang.String | Set the name of the javascript function to be called when a datagrid column is sorted. |
| onSelectRow | false | true | java.lang.String | Set the name of the javascript function to be called when a datagrid row is selected. |
| onUnselectRow | false | true | java.lang.String | Set the name of the javascript function to be called when a datagrid row is unselected. |
| onSelectCell | false | true | java.lang.String | Set the name of the javascript function to be called when a datagrid cell is selected. |
| onUnselectCell | false | true | java.lang.String | Set the name of the javascript function to be called when a datagrid cell is unselected. |
| onSetData | false | true | java.lang.String | Set the name of the javascript function to be called when the datagrid data are modifed. |
| onShowColumn | false | true | java.lang.String | Set the name of the javascript function to be called when a datagrid column is showed. |
| onHideColumn | false | true | java.lang.String | Set the name of the javascript function to be called when a datagrid column is hide. |
| onCheckRow | false | true | java.lang.String | Set the name of the javascript function to be called when a datagrid row is checked. |
| onUncheckRow | false | true | java.lang.String | Set the name of the javascript function to be called when a datagrid row is unchecked. |
| onResize | false | true | java.lang.String | Set the name of the javascript function to be called when a datagrid is resized. |
| onMoveColumn | false | true | java.lang.String | Set the name of the javascript function to be called when a datagrid column is moved. |
| onChangePage | false | true | java.lang.String | Set the name of the javascript function to be called when the user change page. |
| height | false | true | java.lang.String | The height of the grid, formatted as an Integer (in pixels) |
| heightHeader | false | true | java.lang.String | The height of the grid's headers, formatted as an Integer (in pixels) |
| heightRow | false | true | java.lang.String | The height of the grid's rows, formatted as an Integer (in pixels) |
| resizable | false | true | boolean | The resizeability of the grid. Default is true. |
| rowWrap | false | true | boolean | If true, the row data will be wrap. Default is false |
| rowSelectable | false | true | boolean | The visibility of the row selector of the grid. Default is false. |
| selectionMode | false | true | java.lang.String | The 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. |
| width | false | true | java.lang.String | The width of the grid, formatted as an Integer (in pixels) |
| persistanceClassName | false | true | java.lang.String | The 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. |
| treeGridModel | false | true | com.ideo.sweetdevria.taglib.grid.tree.model.TreeGridModel | Set a tree model to render a tree grid. Incompatible with collection and dataProvider attribute. |
| groupBy | false | true | java.lang.String | The groupBy properties allows you to group rows by a column value. Comma separated column ids. ex:'name,firstName'. |
| frameDisplayed | false | true | boolean | Specify whether or not a frame should be displayed around the component. (true by default) |
| showPropertyButton | false | true | boolean | Specify whether or not the grid property button is shown. (true by default) |
| stateful | false | true | boolean | Define whether this attribute must keep its state according to the page configuration |
| style | false | true | java.lang.String | Css style. Accepts EL. |
| styleClass | false | true | java.lang.String | Css class style. Accepts EL. |
| rendered | false | true | boolean | Rendered or not, acceptable values are: [true(default), false]. |
| templateStart | false | true | java.lang.String | Special velocity start template to replace default. Accepts EL. |
| templateEnd | false | true | java.lang.String | Special velocity end template to replace default. Accepts EL. |