API Docs for: 3.0.1.91d25ad1
Show:

Themes.DefaultTheme Class

Almost empty skeleton for themes. Extend it to provide custom CSS-classes for table items and icons.

  • Every property with suffix Component is a path to the component used in theme
  • Every property with suffix Msg is a message shown in the table
  • Every property with suffix Icon is a CSS-class for font-library used as an icons (used for buttons, carets etc)

Difference from v.2:

  • No mergedProperties
  • Properties components, messages and icons are removed. Every their key is placed directly in theme and named with suffix Component, Msg or Icon.
  • Every property name is converted to the lowerCamelCase

Item Index

Properties

Properties

allColumnsAreHiddenMsg

String

Message shown when all columns are hidden. It's shown inside table body

Default: 'All columns are hidden. Use <strong>columns</strong>-dropdown to show some of them'

buttonDefault

String

CSS-classes for "default" buttons

Default: ''

buttonsGroup

String

Default: ''

cancelRowButton

String

Default: ''

cancelRowButtonLabelMsg

String

Default label for button "Cancel" inside the cell-edit-toggle-component

Default: 'Cancel'

caretIcon

String

CSS-classes for "caret"-icon used in the columns-dropdown

Default: ''

cellComponent

String

Default: 'models-table/cell'

cellContentDisplay

String

Default: ''

cellContentDisplayComponent

String

Default: 'models-table/cell-content-display'

cellContentEdit

String

Default: ''

cellContentEditComponent

String

Default: 'models-table/cell-content-edit'

cellContentSummaryComponent

String

Default: 'models-table/cell-column-summary'

cellContentTagName

String

Default: ''

cellEditToggleComponent

String

Default: 'models-table/cell-edit-toggle'

changeGroupByField

String

CSS-classes for select inside the data-group-by-select component

Default: 'change-group-by-field'

clearAllFiltersIcon

String

CSS-classes for "Clear all filters" button inside the summary component

Default: ''

clearAllFiltersMsg

String

Label for "Clear all filters"-button in the table summary section. It's used for screen-readers and not "visible" by default

Default: 'Clear all filters'

clearFilterIcon

String

CSS-classes for "Clear filter" button. Used for global filter and filters for each column

Default: ''

clearFilterMsg

String

Label for "Clear filter"-buttons in the table header's cells. It's used for screen-readers and not "visible" by default

Default: 'Clear filter input'

clearGlobalFilterMsg

String

Label for "Clear global filter"-button. It's used for screen-readers and not "visible" by default

Default: 'Clear global filter input'

collapseAllRows

String

Default: 'collapse-all-rows'

collapseAllRowsIcon

String

Default: ''

collapseRow

String

Default: 'collapseRow'

collapseRowIcon

String

Default: ''

columnHiddenIcon

String

CSS-classes for icons in the columns-dropdown related to the hidden columns

Default: ''

columnsDropdown

String

CSS-classes for wrapper over list inside columns-dropdown component

Default: ''

columnsDropdownButtonWrapper

String

Default: ''

columnsDropdownComponent

String

Default: 'models-table/columns-dropdown'

columnsDropdownDivider

String

CSS-classes for divider for list inside columns-dropdown components. Divider is placed before single-column items by default

Default: ''

columnsDropdownWrapper

String

CSS-classes for wrapper used inside columns-dropdown component

Default: ''

columnsHiddenComponent

String

Default: 'models-table/columns-hidden'

columnsHideAllMsg

String

Label for button to hide all table columns (under columns dropdown)

Default: 'Hide All'

columnsRestoreDefaultsMsg

String

Label for button to restore default visibility for table columns (under columns dropdown)

Default: 'Restore Defaults'

columnsShowAllMsg

String

Label for button to show all table columns (under columns dropdown)

Default: 'Show All'

columnsTitleMsg

String

Text on toggle for columns dropdown

Default: 'Columns'

columnVisibleIcon

String

CSS-classes for icons in the columns-dropdown related to the visible columns

Default: ''

componentsPath

String

Path to theme's components. It's used in the child-themes

Default: 'models-table/'

currentPageNumberMsg

String

Label for dropdown with page numbers. Used in both numeric and simple pagination

Default: 'Page:'

currentPageSizeSelectWrapper

String

Wrapper for select-tag in the current-page-number-select component

Default: ''

dataGroupBySelectComponent

String

Default: 'models-table/data-group-by-select'

dataGroupBySelectWrapper

String

CSS-classes for wrapper inside data-group-by-select component

Default: ''

defaultComponentsPath

String

Default path to theme's components

Default: 'models-table/'

deselectAllRowsIcon

String

Default: ''

deselectRowIcon

String

Default: ''

editRowButton

String

Default: ''

editRowButtonLabelMsg

String

Default label for button "Edit" inside the cell-edit-toggle-component

Default: 'Edit'

expandAllRows

String

Default: 'expand-all-rows'

expandAllRowsIcon

String

Default: ''

expandAllToggleComponent

String

Default: 'models-table/expand-all-toggle'

expandedRow

String

CSS-classes for expanded rows. Used in the row component

Default: 'expanded-row'

expandRow

String

Default: 'expand-row'

expandRowIcon

String

Default: ''

expandToggleComponent

String

Default: 'models-table/expand-toggle'

filteringCellInternalWrapper

String

Default: ''

footerComponent

String

Default: 'models-table/footer'

footerSummary

String

CSS-classes for table summary block. Used in the summary component

Default: 'table-summary'

footerSummaryDefaultPagination

String

CSS-classes for table summary block. It's used when table has simple pagination

Default: ''

footerSummaryNumericPagination

String

CSS-classes for table summary block. It's used when table has numeric pagination

Default: ''

form

String

CSS-classes for form

Default: ''

formElementWrapper

String

CSS-classes for wrapper over the form elements

Default: ''

globalFilterComponent

String

Default: 'models-table/global-filter'

globalFilterDropdownWrapper

String

Default: ''

globalFilterWrapper

String

CSS-classes for wrapper used inside global-filter component

Default: ''

goToFirstPageButtonTextMsg

String

Label for "First"-page in the numeric pagination. It's used for screen-readers and not "visible" by default

Default: 'Go to first page'

goToLastPageButtonTextMsg

String

Label for "Last"-page in the numeric pagination. It's used for screen-readers and not "visible" by default

Default: 'Go to last page'

goToNextPageButtonTextMsg

String

Label for "Next"-page in the numeric pagination. It's used for screen-readers and not "visible" by default

Default: 'Go to next page'

goToPrevPageButtonTextMsg

String

Label for "Previous"-page in the numeric pagination. It's used for screen-readers and not "visible" by default

Default: 'Go to previous page'

groupByLabelMsg

String

Label for dropdown with columns for rows grouping

Default: 'Group by:'

groupedHeaderComponent

String

Default: 'models-table/grouped-header'

groupingCell

String

CSS-classes for td inside row-grouping component

Default: 'grouping-cell'

groupingRow

String

CSS-class for row-grouping component

Default: 'grouping-row'

headerWrapper

String

CSS-classes for div-wrapper over components global-filter, data-group-by-select and columns-dropdown

Default: ''

input

String

CSS-classes for input elements

Default: ''

navFirstIcon

String

CSS-classes for icon used in the "First"-button (pagination-simple)

Default: ''

navLastIcon

String

CSS-classes for icon used in the "Last"-button (pagination-simple)

Default: ''

navNextIcon

String

CSS-classes for icon used in the "Next"-button (pagination-simple)

Default: ''

navPrevIcon

String

CSS-classes for icon used in the "Prev"-button (pagination-simple)

Default: ''

noDataCell

String

CSS-classes for td shown when all columns are hidden

Default: ''

noDataComponent

String

Default: 'models-table/no-data'

noDataToShowMsg

String

Message shown when there are not data to display in the table. It's shown inside table body in cases when initial data is empty or when all records are filtered out

Default: 'No records to show'

pageSizeSelectComponent

String

Default: 'models-table/page-size-select'

pageSizeSelectWrapper

String

Default: ''

pageSizeWrapper

String

CSS-classes for wrapper over "Page size"-block in the footer component

Default: ''

paginationBlock

String

Default: ''

paginationInternalWrapper

String

CSS-classes for buttons-wrapper in the pagination-simple and pagination-numeric components

Default: ''

paginationNumericComponent

String

Default: 'models-table/pagination-numeric'

paginationNumericItem

String

CSS-classes for items in the pagination-numeric component

Default: ''

paginationNumericItemActive

String

CSS-classes for active item in the pagination-numeric component

Default: ''

paginationSimpleComponent

String

Default: 'models-table/pagination-simple'

paginationWrapper

String

CSS-classes for pagination-simple and pagination-numeric components

Default: 'table-nav'

paginationWrapperDefault

String

CSS-classes for pagination-simple component

Default: ''

paginationWrapperNumeric

String

CSS-classes for pagination-numeric component

Default: ''

rowComponent

String

Default: 'models-table/row'

rowExpandComponent

String

Default: 'models-table/row-expand'

rowFilteringCellComponent

String

Default: 'models-table/row-filtering-cell'

rowFilteringComponent

String

Default: 'models-table/row-filtering'

rowGroupingComponent

String

Default: 'models-table/row-grouping'

rowGroupToggleComponent

String

Default: 'models-table/row-group-toggle'

rowsCountMsg

String

Label for dropdown with rows count shown in the page

Default: 'Rows:'

rowSelectAllCheckboxComponent

String

Default: 'models-table/row-select-all-checkbox'

rowSelectCheckboxComponent

String

Default: 'models-table/row-select-checkbox'

rowSortingCellComponent

String

Default: 'models-table/row-sorting-cell'

rowSortingComponent

String

Default: 'models-table/row-sorting'

saveRowButton

String

Default: ''

saveRowButtonLabelMsg

String

Default label for button "Save" inside the cell-edit-toggle-component

Default: 'Save'

searchLabelMsg Label for global filter

String

Default: 'Search:'

searchPlaceholderMsg

String

Placeholder for global filter

Default: ''

select

String

CSS-classes for select

Default: ''

selectAllRowsIcon

String

Default: ''

selectComponent

String

Default: 'models-table/select'

selectedRow

String

CSS-classes for selected rows. Used in the row component

Default: 'selected-row'

selectRowIcon

String

Default: ''

sortAscIcon

String

CSS-classes for icons used to show that some "list" is sorted "ASC". It's used for data-group-by-select and row-sorting-cell

Default: ''

sortDescIcon

String

CSS-classes for icons used to show that some "list" is sorted "DESC". It's used for data-group-by-select and row-sorting-cell

Default: ''

sortGroupedPropertyBtn

String

CSS-classes for "sort asc/desc" button inside the data-group-by-select component

Default: ''

summaryComponent

String

Default: 'models-table/summary'

table

String

CSS-classes for table-tag

Default: ''

tableBodyComponent

String

Default: 'models-table/table-body'

tableComponent

String

Default: 'models-table/table'

tableFooterComponent

String

Default: 'models-table/table-footer'

tableHeaderComponent

String

Default: 'models-table/table-header'

tableSummaryMsg

String

Message shown in the table summary. It's used with three options:

  1. First row's index
  2. Last row's index
  3. Overall rows count

Default: 'Show %@ - %@ of %@'

tfooterInternalWrapper

String

CSS-classes for wrapper inside footer component

Default: ''

tfooterWrapper

String

CSS-classes for table footer

Default: 'table-footer'

thead

String

CSS-classes for thead

Default: ''

theadCell

String

CSS-classes for thead cells

Default: 'table-header'

theadCellNoFiltering

String

CSS-classes used for thead-cells with columns filters. This class is used only if columns is not filterable

Default: 'table-header-no-filtering'

theadCellNoSorting

String

CSS-classes used for thead-cells with columns titles. This class is used only if columns is not sortable

Default: 'table-header-no-sorting'