| |||||||
FRAMES NO FRAMES |
Tag Information | |
Tag Class | teamdev.jsf.taglib.DataTableJspTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | |||||
Name | Required | Binding Type | EL | Default | Description |
align | false | java.lang.String | true | null | The alignment of the table content. Available values are: "left" "center" "right" |
allRecordsFilterName | false | java.lang.String | true | "<All>" | Text that is displayed instead of " |
applyDefaultStyle | false | boolean | true | true | A flag that indicates whether or not to apply the default style. |
bgcolor | false | java.lang.String | true | null | The background color behind the table content. |
binding | false | teamdev.jsf.component.datatable.DataTable | only | null | A value-binding expression that associates the DataTable with a backing bean property. |
bodyOddRowClass | false | java.lang.String | true | null | A CSS class name for DataTable odd rows, if it should be different from bodyRowClass. |
bodyOddRowStyle | false | java.lang.String | true | null | A style for DataTable odd rows, if should be different from bodyRowStyle. |
bodyRowClass | false | java.lang.String | true | null | A CSS class name for DataTable rows. |
bodyRowStyle | false | java.lang.String | true | null | A style for DataTable rows. |
bodySectionClass | false | java.lang.String | true | null | A CSS class name for the DataTable body section. |
bodySectionStyle | false | java.lang.String | true | null | A style for the DataTable body section. |
border | false | int | true | Integer.MIN_VALUE | The number of pixels in the DataTable border. The value Integer.MIN_VALUE means there is no border rendered. |
cellpadding | false | java.lang.String | true | null | The amount of space between the border of the cell and its content. The value null means there is no cell spacing rendered. |
cellspacing | false | java.lang.String | true | null | The amount of space between the cells in the DataTable. The value null means there is no cell spacing rendered. |
columnIdVar | false | java.lang.String | false | null | The name of the variable under which the column id is available when specifying a condition for the cellStyle tag. |
columnIndexVar | false | java.lang.String | false | null | The name of the variable under which the column index is available when specifying a condition for the cellStyle tag. |
columnsOrder | false | java.util.List | only | null | The order of columns in the DataTable component. This attribute should be bound to a list containing column IDs for each column in the order you want them to be displayed. If the "columnsOrder" attribute is not specified, all the columns are rendered in the order they are defined. |
commonFooterRowClass | false | java.lang.String | true | null | A CSS class name for the DataTable footer row. |
commonFooterRowStyle | false | java.lang.String | true | null | A style for the DataTable footer row. |
commonFooterSeparator | false | java.lang.String | true | null | A style for a line that separates the table footer from the rest of the table. Should be specified as the CSS "border" property but without the prefix "border:". |
commonHeaderRowClass | false | java.lang.String | true | null | A CSS class name for the DataTable header row. |
commonHeaderRowStyle | false | java.lang.String | true | null | A style for the DataTable header row. |
commonHeaderSeparator | false | java.lang.String | true | null | A style for a line that separates the table header from the rest of the table. Should be specified as the CSS "border" property but without the prefix "border:". |
customDataProviding | false | boolean | true | false | If this attribute is set to "true", then it is the responsibility of a developer to provide the paged data through the "value" attribute. In this case, two additional request-scope variables will be available when evaluating the "value" attribute: rangeStart and rangeSize. These variables specify which rows the "value" attribute should return. rangeStart is the index of the first returned row, and rangeSize defines the number of rows that should be returned. When this attribute is set to "true", the "totalRowCount" and "rowDataByKey" attributes must also be defined. |
dir | false | java.lang.String | true | "ltr" | The reading order of the table columns and content. Available values are: "ltr" — from left to right "rtl" — from right to left |
emptyRecordsFilterName | false | java.lang.String | true | "<Empty>" | Text that is displayed instead of " |
filterRowClass | false | java.lang.String | true | null | A CSS class name for the row that contains the filter components. |
filterRowSeparator | false | java.lang.String | true | null | A style for a line that separates a row with filter components and the column header. |
filterRowStyle | false | java.lang.String | true | null | A style for the row that contains the filter components. |
focusedClass | false | java.lang.String | true | null | A CSS class name of the DataTable component when it is focused. |
focusedStyle | false | java.lang.String | true | null | A style of the DataTable component when it is focused. |
footerHorizSeparator | false | java.lang.String | true | null | A style for a line that separates the footer section from the body section. Should be specified as the CSS "border" property but without the prefix "border:". |
footerRowClass | false | java.lang.String | true | null | A CSS class name for the column footer row. |
footerRowStyle | false | java.lang.String | true | null | A style for the column footer row. |
footerSectionClass | false | java.lang.String | true | null | A CSS class name for the DataTable footer section. |
footerSectionStyle | false | java.lang.String | true | null | A style for the DataTable footer section. |
footerVertSeparator | false | java.lang.String | true | null | A style for vertical lines between column footers. Should be specified as the CSS "border" property but without the prefix "border:". |
headerHorizSeparator | false | java.lang.String | true | null | A style for a line that separates the header section from the body section. Should be specified as the CSS "border" property but without the prefix "border:". |
headerRowClass | false | java.lang.String | true | null | A CSS class name for the column header row. |
headerRowStyle | false | java.lang.String | true | null | A style for the column header row. |
headerSectionClass | false | java.lang.String | true | null | A CSS class name for the DataTable header section. |
headerSectionStyle | false | java.lang.String | true | null | A style for the DataTable header section. |
headerVertSeparator | false | java.lang.String | true | null | A style for vertical lines between column headers. Should be specified as the CSS "border" property but without the prefix "border:". |
horizontalGridLines | false | java.lang.String | true | null | A style for horizontal lines in the DataTable body. Should be specified as the CSS "border" property but without the prefix "border:". |
id | false | java.lang.String | false | null | The component identifier. |
noDataMessageAllowed | false | boolean | true | true | A flag that indicates whether or not to show "noDataMessage". |
noDataRowClass | false | java.lang.String | true | null | A CSS class name for the row that displays "noDataMessage". |
noDataRowStyle | false | java.lang.String | true | null | A style for the row that displays "noDataMessage". |
nonEmptyRecordsFilterName | false | java.lang.String | true | "<Non-empty>" | Text that is displayed instead of " |
onblur | false | java.lang.String | true | null | JavaScript code that should be executed when the DataTable loses focus. |
onclick | false | java.lang.String | true | null | JavaScript code that should be executed on the client when the user clicks the left mouse button over the DataTable. |
ondblclick | false | java.lang.String | true | null | JavaScript code that should be executed on the client when the user double-clicks the left mouse button over the DataTable. |
onfocus | false | java.lang.String | true | null | JavaScript code that should be executed when the DataTable receives focus. |
onkeydown | false | java.lang.String | true | null | JavaScript code that should be executed when the user presses a key over the DataTable. |
onkeypress | false | java.lang.String | true | null | JavaScript code that should be executed on the client when the user presses and releases a key over the DataTable. |
onkeyup | false | java.lang.String | true | null | JavaScript code that should be executed when the user releases a key over the DataTable. |
onmousedown | false | java.lang.String | true | null | JavaScript code that should be executed when the user clicks over the DataTable with either mouse button. |
onmousemove | false | java.lang.String | true | null | JavaScript code that should be executed when the user moves the mouse pointer over the DataTable. |
onmouseout | false | java.lang.String | true | null | JavaScript code that should be executed when the user moves the mouse pointer away from the DataTable. |
onmouseover | false | java.lang.String | true | null | JavaScript code that should be executed when the user moves the mouse pointer onto the DataTable. |
onmouseup | false | java.lang.String | true | null | JavaScript code that should be executed when the user releases a mouse button over the DataTable. |
pageIndex | false | int | true | 0 | The number of a currently displayed page. This attribute is effective only if the "pageSize" attribute is specified. |
pageSize | false | int | true | 0 | The number of rows to be displayed on each table page. If it is set to "0", no paging is available. |
paginationKeyboardSupport | false | boolean | true | true | A flag that indicates whether or not to enable the keyboard support for paging. |
rendered | false | boolean | true | true | A flag that indicates whether or not the component is visible. |
rolloverClass | false | java.lang.String | true | null | A CSS class name for the DataTable component in the rollover state. |
rolloverRowClass | false | java.lang.String | true | null | A CSS class name for a DataTable row in the rollover state. |
rolloverRowStyle | false | java.lang.String | true | null | A style for a DataTable row in the rollover state. |
rolloverStyle | false | java.lang.String | true | null | A style for the DataTable component in the rollover state. |
rowDataByKey | false | java.lang.String | only | null | A value-binding expression that should return row data by a request-scope rowKey variable This variable is required when the "customPaging" attribute is set to "true". |
rowIndexVar | false | java.lang.String | false | null | The name of the variable under which the current row index is available when declaring components inside columns or specifying a condition for the rowStyle and cellStyle tags. |
rowKey | false | java.lang.String | only | null | A row key that must uniquely identify an appropriate row. All rowKey objects should be serializable and correctly implement the equals() and hashCode() methods. |
rowOnclick | false | java.lang.String | true | null | JavaScript code that should be executed on the client when the user clicks the left mouse button over a DataTable row. |
rowOndblclick | false | java.lang.String | true | null | JavaScript code that should be executed on the client when the user double-clicks the left mouse button over a DataTable row. |
rowOnmousedown | false | java.lang.String | true | null | JavaScript code that should be executed when the user clicks over a DataTable row with either mouse button. |
rowOnmousemove | false | java.lang.String | true | null | JavaScript code that should be executed when user moves the mouse pointer over the DataTable row. |
rowOnmouseout | false | java.lang.String | true | null | JavaScript code that should be executed when the user moves the mouse pointer away from a DataTable row. |
rowOnmouseover | false | java.lang.String | true | null | JavaScript code that should be executed when the user moves the mouse pointer onto a DataTable row. |
rowOnmouseup | false | java.lang.String | true | null | JavaScript code that should be executed when the user releases the mouse button over a DataTable row. |
rules | false | java.lang.String | true | "none" | Specifies which gridlines are displayed between the cells in the DataTable component. Available values are: "all" — between all rows and columns "cols" — between columns only "groups" — between row groups and column groups only "none" — no grid lines "rows" — between rows only |
sortAscending | false | boolean | true | null | The sort order of the data in the DataTable component when it is loaded for the first time. The "true" value means the table is sorted in ascending order. |
sortColumnId | false | java.lang.String | true | null | The ID of a column by which to sort the DataTable component when it is loaded for the first time. |
sortedColumnBodyClass | false | java.lang.String | true | null | A CSS class name for the sorted column's body. |
sortedColumnBodyStyle | false | java.lang.String | true | null | A style for the sorted column's body. |
sortedColumnClass | false | java.lang.String | true | null | A CSS class name for the entire sorted column. |
sortedColumnFooterClass | false | java.lang.String | true | null | A CSS class name for the sorted column's footer. |
sortedColumnFooterStyle | false | java.lang.String | true | null | A style for the sorted column's footer. |
sortedColumnHeaderClass | false | java.lang.String | true | null | A CSS class name for the sorted column's header. |
sortedColumnHeaderStyle | false | java.lang.String | true | null | A style for the sorted column's header. |
sortedColumnStyle | false | java.lang.String | true | null | A style for the entire sorted column. |
style | false | java.lang.String | true | null | A style for the entire DataTable component. |
styleClass | false | java.lang.String | true | null | A CSS class name for the entire DataTable component. |
totalRowCount | false | int | only | null | The number of rows on all table pages according to current filtering options. Must be specified if the "customPaging" attribute is set to "true". |
useAjax | false | boolean | true | true | A flag that indicates whether or not to use Ajax for sorting, filternig and pagination. |
value | false | array,
java.util.Collection,
java.sql.ResultSet,
javax.servlet.jsp.jstl.sql.Result | only | null | Specifies a set of rows displayed in the DataTable component. |
var | true | java.lang.String | false | null | The name of a request-scope variable under which the current row data is available when specifying columns. |
verticalGridLines | false | java.lang.String | true | null | A style for vertical lines in the DataTable body. Should be specified as the CSS "border" property but without the prefix "border:". |
width | false | java.lang.String | true | null | The width of the DataTable. Can be specified in any units (px, mm, em, etc.). |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |