[intro]

JavaScripTable

The JavaScripTable is a full featured, dynamic table, that can be rendered on any html element.
It has several properties that customizes it's appearance and behaviour, allowing full customization and internationalization.
The table may operate both on client-side mode (where all rows are added at once and the table itself handles all paging, sorting and other stuff) or on server-side mode (where the developer is in charge of adding only the rows belonging to the correct page and managing other state properties).


Constants Click here for the constant details
Data type constants
JST_TYPE_BOOLEAN Boolean type
JST_TYPE_CURRENCY Currency type
JST_TYPE_DATE Date type
JST_TYPE_NUMERIC Numeric type
JST_TYPE_STRING String type
Selection type constants
JST_SEL_MULTI Multiple selection
JST_SEL_NONE No selection
JST_SEL_SINGLE Single selection
Navigation bar constants
JST_NAV_BOTH Navigation bar on both top and bottom
JST_NAV_BOTTOM Navigation bar on the table bottom
JST_NAV_NONE No navigation bar
JST_NAV_TOP Navigation bar on the table top
Horizontal alignment constants
JST_ALIGN_CENTER Center alignmnent
JST_ALIGN_JUSTIFY Justified alignmnent
JST_ALIGN_LEFT Left alignmnent
JST_ALIGN_RIGHT Right alignmnent
Vertical alignment constants
JST_VALIGN_BASELINE Baseline alignmnent
JST_VALIGN_BOTTOM Bottom alignmnent
JST_VALIGN_MIDDLE Middle alignmnent
JST_VALIGN_SUB Sub alignmnent
JST_VALIGN_SUPER Super alignmnent
JST_VALIGN_TEXT_BOTTOM Text-bottom alignmnent
JST_VALIGN_TEXT_TOP Text-top alignmnent
JST_VALIGN_TOP Top alignmnent
Edit control type constants
JST_CONTROL_CHECKBOX Checkbox input
JST_CONTROL_PASSWORD Password input
JST_CONTROL_RADIO Radio input
JST_CONTROL_SELECT Select input
JST_CONTROL_TEXT Text input
JST_CONTROL_TEXTAREA Textarea input
Table operation mode constants
JST_CLIENT_SIDE The table operates on client-side
JST_SERVER_SIDE The table operates on server-side
Highlighting modes
JST_HIGHLIGHTING_CELL Cell highlighting
JST_HIGHLIGHTING_NONE No highlighting
JST_HIGHLIGHTING_ROW Row highlighting
JST_HIGHLIGHTING_ROW_CELL Row and cell highlighting
JST_HIGHLIGHTING_ROW_TEXT Row and text highlighting
JST_HIGHLIGHTING_ROW_TEXT_CELL Row, text and cell highlighting
JST_HIGHLIGHTING_TEXT Text highlighting
JST_HIGHLIGHTING_TEXT_CELL Text and cell highlighting
Default table property constants
JST_DEFAULT_ADDITIONAL_FOOTER_CLASS The default value for property: additionalFooterClass
JST_DEFAULT_ADDITIONAL_HEADER_CLASS The default value for property: additionalHeaderClass
JST_DEFAULT_ALIGN The default value for property: align
JST_DEFAULT_ALLOW_CHANGE_PAGE_SIZE The default value for property: allowChangePageSize
JST_DEFAULT_ALLOW_CHANGE_PAGING The default value for property: allowChangePaging
JST_DEFAULT_ALLOW_TOP_LINK The default value for property: allowTopLink
JST_DEFAULT_ASC_LABEL The default value for property: ascLabel
JST_DEFAULT_BOOLEAN_ENCODING_PARSER The default value for property: booleanEncodingParser
JST_DEFAULT_BOOLEAN_PARSER The default value for property: booleanParser
JST_DEFAULT_BORDER The default value for property: border
JST_DEFAULT_CHANGE_PAGE_DESCRIPTION The default value for property: changePageDescription
JST_DEFAULT_CHANGE_PAGE_PROMPT The default value for property: changePagePrompt
JST_DEFAULT_CHANGE_PAGE_SIZE_DESCRIPTION The default value for property: changePageSizeDescription
JST_DEFAULT_CHANGE_PAGE_SIZE_PROMPT The default value for property: changePageSizePrompt
JST_DEFAULT_COLUMN_HEADER_CLASS The default value for property: columnHeaderClass
JST_DEFAULT_COLUMN_HEADER_HIGHLIGHTING The default value for property: columnHeaderHighlighting
JST_DEFAULT_COLUMN_HEADER_TEXT_CLASS The default value for property: columnHeaderTextClass
JST_DEFAULT_COLUMN_SEPARATOR The default value for property: columnSeparator
JST_DEFAULT_CROP_REPEATED The default value for property: cropRepeated
JST_DEFAULT_CROP_REPEATED_TREE The default value for property: cropRepeatedTree
JST_DEFAULT_CURRENCY_ENCODING_PARSER The default value for property: currencyEncodingParser
JST_DEFAULT_CURRENCY_PARSER The default value for property: currencyParser
JST_DEFAULT_DATE_ENCODING_PARSER The default value for property: dateEncodingParser
JST_DEFAULT_DATE_PARSER The default value for property: dateParser
JST_DEFAULT_DESC_LABEL The default value for property: descLabel
JST_DEFAULT_EDIT_CONTROL_CLASS The default value for property: editControlClass
JST_DEFAULT_EDIT_CONTROL_RADIO_CHECKBOX_CLASS The default value for property: editControlRadioCheckboxClass
JST_DEFAULT_EMPTY_TABLE_TEXT The default value for property: emptyTableText
JST_DEFAULT_EVEN_ROW_CELL_CLASS The default value for property: evenRowCellClass
JST_DEFAULT_EVEN_ROW_CLASS The default value for property: oddRowClass
JST_DEFAULT_EVEN_ROW_TEXT_CLASS The default value for property: oddRowTextClass
JST_DEFAULT_EVEN_ROW_TEXT_WITH_FUNCTION_CLASS The default value for property: oddRowTextWithFunctionClass
JST_DEFAULT_FALSE_LABEL The default value for property: falseLabel
JST_DEFAULT_FIRST_PAGE_DESCRIPTION The default value for property: firstPageDescription
JST_DEFAULT_FIRST_PAGE_TEXT The default value for property: firstPageText
JST_DEFAULT_FOOTER_CLASS The default value for property: footerClass
JST_DEFAULT_FOOTER_TEXT The default value for property: footerText
JST_DEFAULT_HEADER_CLASS The default value for property: headerClass
JST_DEFAULT_HEADER_TEXT The default value for property: headerText
JST_DEFAULT_HIGHLIGHTED_COLUMN_HEADER_CLASS The default value for property: highlightedColumnHeaderClass
JST_DEFAULT_HIGHLIGHTED_COLUMN_HEADER_TEXT_CLASS The default value for property: highlightedColumnHeaderTextClass
JST_DEFAULT_HIGHLIGHTED_EVEN_ROW_CELL_CLASS The default value for property: highlightedEvenRowCellClass
JST_DEFAULT_HIGHLIGHTED_EVEN_ROW_CLASS The default value for property: highlightedOddRowClass
JST_DEFAULT_HIGHLIGHTED_EVEN_ROW_TEXT_CLASS The default value for property: highlightedOddRowTextClass
JST_DEFAULT_HIGHLIGHTED_EVEN_ROW_TEXT_WITH_FUNCTION_CLASS The default value for property: highlightedOddRowTextWithFunctionClass
JST_DEFAULT_HIGHLIGHTED_NAVIGATION_LINK_CLASS The default value for property: highlightedNavigationLinkClass
JST_DEFAULT_HIGHLIGHTED_ODD_ROW_CELL_CLASS The default value for property: highlightedOddRowCellClass
JST_DEFAULT_HIGHLIGHTED_ODD_ROW_CLASS The default value for property: highlightedOddRowClass
JST_DEFAULT_HIGHLIGHTED_ODD_ROW_TEXT_CLASS The default value for property: highlightedOddRowTextClass
JST_DEFAULT_HIGHLIGHTED_ODD_ROW_TEXT_WITH_FUNCTION_CLASS The default value for property: highlightedOddRowTextWithFunctionClass
JST_DEFAULT_INVALID_EDIT_CONTROL_CLASS The default value for property: invalidEditControlClass
JST_DEFAULT_LAST_PAGE_DESCRIPTION The default value for property: lastPageDescription
JST_DEFAULT_LAST_PAGE_TEXT The default value for property: lastPageText
JST_DEFAULT_MAX_ROWS The default value for property: maxRows
JST_DEFAULT_MESSAGES_ON_STATUS_BAR The default value for property: messagesOnStatusBar
JST_DEFAULT_MULTIPLE_ROW_TEXT The default value for property: multipleRowText
JST_DEFAULT_NAVIGATION The default value for property: navigation
JST_DEFAULT_NAVIGATION_CLASS The default value for property: navigationClass
JST_DEFAULT_NAVIGATION_LINK_CLASS The default value for property: navigationLinkClass
JST_DEFAULT_NEXT_PAGE_DESCRIPTION The default value for property: nextPageDescription
JST_DEFAULT_NEXT_PAGE_TEXT The default value for property: nextPageText
JST_DEFAULT_NUMBER_ENCODING_PARSER The default value for property: numberEncodingParser
JST_DEFAULT_NUMBER_PARSER The default value for property: numberParser
JST_DEFAULT_ODD_ROW_CELL_CLASS The default value for property: oddRowCellClass
JST_DEFAULT_ODD_ROW_CLASS The default value for property: oddRowClass
JST_DEFAULT_ODD_ROW_TEXT_CLASS The default value for property: oddRowTextClass
JST_DEFAULT_ODD_ROW_TEXT_WITH_FUNCTION_CLASS The default value for property: oddRowTextWithFunctionClass
JST_DEFAULT_OPERATION_MODE The default value for property: operationMode
JST_DEFAULT_PADDING The default value for property: padding
JST_DEFAULT_PAGE_ONLY_SELECT_ALL The default value for property: pageOnlySelectAll
JST_DEFAULT_PAGE_SIZE The default value for property: pageSize
JST_DEFAULT_PAGE_TEXT The default value for property: pageText
JST_DEFAULT_PREVIOUS_PAGE_DESCRIPTION The default value for property: previousPageDescription
JST_DEFAULT_PREVIOUS_PAGE_TEXT The default value for property: previousPageText
JST_DEFAULT_ROW_HIGHLIGHTING The default value for property: rowHighlighting
JST_DEFAULT_ROW_SEPARATOR The default value for property: rowSeparator
JST_DEFAULT_SELECTION_CONTROL_CLASS The default value for property: selectionControlClass
JST_DEFAULT_SELECTION_NAME The default value for property: selectionName
JST_DEFAULT_SELECTION_TYPE The default value for property: selectionType
JST_DEFAULT_SELECTION_VALIGN The default value for property: selectionValign
JST_DEFAULT_SHOW_ALL_DESCRIPTION The default value for property: showAllDescription
JST_DEFAULT_SHOW_ALL_TEXT The default value for property: showAllText
JST_DEFAULT_SHOW_COLUMN_HEADERS The default value for property: showColumnHeaders
JST_DEFAULT_SHOW_SELECT_ALL The default value for property: showSelectAll
JST_DEFAULT_SINGLE_ROW_TEXT The default value for property: singleRowText
JST_DEFAULT_SORT_MESSAGE The default value for property: sortMessage
JST_DEFAULT_SPACING The default value for property: spacing
JST_DEFAULT_STRING_ENCODING_PARSER The default value for property: stringEncodingParser
JST_DEFAULT_STRING_PARSER The default value for property: stringParser
JST_DEFAULT_TABLE_CLASS The default value for property: tableClass
JST_DEFAULT_TOP_DESCRIPTION The default value for property: topDescription
JST_DEFAULT_TOP_TEXT The default value for property: topText
JST_DEFAULT_TRUE_LABEL The default value for property: trueLabel
JST_DEFAULT_USE_PAGING The default value for property: usePaging
JST_DEFAULT_USE_PAGING_DESCRIPTION The default value for property: usePagingDescription
JST_DEFAULT_USE_PAGING_TEXT The default value for property: usePagingText
JST_DEFAULT_VALUE_SEPARATOR The default value for property: valueSeparator
JST_DEFAULT_WIDTH The default value for property: width

Classes
Column Represents a table column
EditControl Represents a column editor
JavaScripTable This is the JavaScripTable main class
JavaScripTableCellContainer Contains zero or more cells, and is used by the JavaScripTable to render additional header and footer
ObjectRowMapper The ObjectRowMapper maps between an Object or Map to a Row and vice-versa
Row Represents a table row