HexagonJS
Data Table Changelog
2.0.0
hx.DataTableoptionsObject
options
stickyHeadersEnabledBoolean
Added
Added an option to allow the sticky headers to be disabled
hx.DataTable
stickyHeadersEnabledBoolean
Added
Gets the stickyHeadersEnabled option
hx.DataTable
stickyHeadersEnabledDataTable
Added
Sets the stickyHeadersEnabled option
1.17.0
hx.DataTableoptionsObject
options
selectedRowsArray
Added
#86
Added the ability to set the selectedRows in the constructor
hx.DataTableoptionsObject
options
expandedRowsArray
Added
#86
Added the ability to set the expandedRows in the constructor
1.15.0
hx.DataTableextendsEventEmitter
Bugfix
Resolved an issue where the input had 0 width in IE
1.13.0
hx.DataTableoptionsObject
options
highlightOnHoverBoolean
Added
Added the ability to disable row hover for data tables
1.12.0
hx.DataTableoptionsObject
options
advancedSearchCriteriaArray[String]
Added
#401
Added the ability to use filter types in the advanced search of data tables
hx.DataTable
advancedSearchCriteriaArray[String]
Added
#401
Added the ability to use filter types in the advanced search of data tables
hx.DataTable
advancedSearchCriteriaDataTable
Added
#401
Added the ability to use filter types in the advanced search of data tables
hx.DataTable
advancedSearchCriteriaArray[String]
Added
#401
Added the ability to use filter types in the advanced search of data tables
hx.DataTable
advancedSearchCriteriaDataTable
Added
#401
Added the ability to use filter types in the advanced search of data tables
1.10.0
hx.DataTableextendsEventEmitter
Bugfix
#352
Resolved an issue where setting the filter with the api would not update the filter input.
hx.dataTable
objectFeedFeed
Bugfix
#360
Resolved an issue where the object feed was using a cached set of filtered rows incorrectly when sorting multiple times on the same column
1.8.0
hx.DataTableextendsEventEmitter
Bugfix
#323
Resolved an issue where nested tables would never hide their 'Loading' overlay
1.7.0
Feed
rowscallbackFunction
callbackdataObject
data
filteredCountNumber
Bugfix
#305
Fixed issue with page-size-selector for lazy feeds
Bugfix
#306
Fixed issue with page-selector for lazy feeds
1.5.0
hx.DataTableextendsEventEmitter
Updated
Updated the compact view to have a collapsible control panel that houses the search, sort and advanced search controls so that compact tables take up less space
Updated
#49
Updated the data table to include options for Advanced searching (multi-column filtering) as well as showing the search above the table
Bugfix
#252
Resolved an issue where the classes for showing/hiding the sort were not being applied correctly
hx.DataTableoptionsObject
options
showAdvancedSearchBoolean
Added
#49
Whether to show the advanced search and the toggle for switching between the regular filter and the advanced search.
If advancedSearchEnabled is true or an advancedSearch is passed in, this is set to true.
See the Using the Advanced Search section at the bottom of the page for more information on the advanced search
hx.DataTableoptionsObject
options
advancedSearchEnabledBoolean
Added
#49
Whether the advanced search should be enabled. If an advancedSearch is passed in, this is set to true. If filterEnabled is set to false and this is set to true, the advanced search will be shown on it's own with no toggle for switching the filter type. See the Using the Advanced Search section at the bottom of the page for more information on the advanced search
hx.DataTableoptionsObject
options
advancedSearchArray[Array[Object]]
Added
#49
The advanced search array to use. If a value is passed in, showAdvancedSearch and advancedSearchEnabled are both set to true, showing and enabling the advanced search. See the Using the Advanced Search section at the bottom of the page for more information on the advanced search
hx.DataTableoptionsObject
options
showSearchAboveTableBoolean
Added
#49
hx.DataTableoptionsObject
options
addFilterTextString
Added
#49
hx.DataTableoptionsObject
options
clearFiltersTextString
Added
#49
hx.DataTableoptionsObject
options
anyColumnTextString
Added
#49
hx.DataTableoptionsObject
options
advancedSearchTextString
Added
#49
hx.DataTableoptionsObject
options
advancedSearchPlaceholderString
Added
#49
hx.DataTable
showAdvancedSearchDataTable
Added
#49
Sets the showAdvancedSearch option
hx.DataTable
showAdvancedSearchBoolean
Added
#49
Gets the showAdvancedSearch option
hx.DataTable
advancedSearchEnabledDataTable
Added
#49
Sets the advancedSearchEnabled option
hx.DataTable
advancedSearchEnabledBoolean
Added
#49
Gets the advancedSearchEnabled option
hx.DataTable
showSearchAboveTableDataTable
Added
#49
Sets the showSearchAboveTable option
hx.DataTable
showSearchAboveTableBoolean
Added
#49
Gets the showSearchAboveTable option
hx.DataTable
advancedSearchArray[Array[Object]]
Added
#49
Gets the currently advanced search
hx.DataTable
advancedSearchDataTable
Added
#49
Sets the advanced search
Feed
rows
Updated
#49
Updated the range parameter to include new advanced search properties
hx.dataTable
objectFeedoptionsObject
options
compareNumber
Updated
#49
Updated the default sort function to use hx.sort.compare to provide better sorting
hx.dataTable
objectFeedoptionsObject
options
cellValueLookupString
Added
#49
Added options to the object feed to make it more configurable
hx.dataTable
objectFeedoptionsObject
options
termLookupBoolean
Added
#49
Added options to the object feed to make it more configurable
hx.dataTable
getAdvancedSearchFilterFunction
Added
#49
Added a helper for creating custom feeds using the advanced search
1.4.0
hx.DataTableoptionsObject
options
clearSelectionTextString
Added
#211
The text to display on the 'clear selection' link when rows have been selected
hx.DataTableoptionsObject
options
loadingTextString
Added
#211
The text to display when data is loading
hx.DataTableoptionsObject
options
noSortTextString
Added
#211
The text to display on the mobile sort menu for 'No Sort'
hx.DataTableoptionsObject
options
rowsPerPageTextString
Added
#211
The text to display next to the 'rows per page' picker
hx.DataTableoptionsObject
options
searchPlaceholderString
Added
#211
The placeholder for the 'search' box
hx.DataTableoptionsObject
options
selectedRowsTextString
Added
#211
The text to display in the selected rows information bar.
The '$total' variables can be substituted in, e.g for a table with 3 rows and 1 row selected:
options = {
  selectedRowsText: '$selected of $total selected.'
}
// Would evalate to '1 of 3 selected.'
hx.DataTableoptionsObject
options
sortByTextString
Added
#211
The text to display next to the sort picker shown in compact mode.
1.2.0
hx.DataTableextendsEventEmitter
Bugfix
#85#135
Fixed the table row selection so that single row selection works properly
Bugfix
#154
Update hx.dataTable.urlFeed so that it uses the correct callback format from hx.json
1.1.0
hx.DataTableextendsEventEmitter
Updated
#60
Updated the cell styles for data tables so that changing the background color in the cellRenderer does not display with incorrect padding
hx.DataTableoptionsObject
options
columns
maxWidthNumber
Added
#11
Added an option for setting the max width for a column
hx.DataTable
maxWidthNumber
Added
#11
Gets the maxWidth value for a column of the table if one has been set.
hx.DataTable
maxWidthDataTable
Added
#11
Sets the maxWidth value for a column of the table
hx.dataTableSelection
Updated
#59
Make the fluid api data table function render the table if a feed is provided
1.0.0
hx.DataTableextendsEventEmitter
Bugfix
Updated the compact sort picker to use the headerCellRenderer for each column
Bugfix
Updated the styles to make the compact mode more compact
hx.DataTable
suppressRenderBoolean
Removed
Use renderSuppressed() instead
hx.DataTable
suppressRenderDataTable
Removed
Use renderSuppressed(value) instead
hx.dataTableSelection
Added
Fluid api version of DataTable
0.15.3
hx.DataTableextendsEventEmitter
Bugfix
Fix an issue with data-tables not using custom renderers in mobile mode.
hx.DataTable
suppressRenderBoolean
Deprecated
Use renderSuppressed() instead
hx.DataTable
suppressRenderDataTable
Deprecated
Use renderSuppressed(value) instead
0.15.2
hx.DataTableextendsEventEmitter
Bugfix
Fixed a bug where the sort controls were showing in compact mode when sorting had been disabled.
hx.DataTable
suppressRenderBoolean
Deprecated
Use renderSuppressed() instead
hx.DataTable
suppressRenderDataTable
Deprecated
Use renderSuppressed(value) instead
hx.DataTable
renderSuppressedBoolean
Added
Added a new method to replace suppressRender as the name did not make it clear that it was a setter/getter.
hx.DataTable
renderSuppressedDataTable
Added
Added a new method to replace suppressRender as the name did not make it clear that it was a setter/getter.
hx.DataTable
rowclick
Bugfix
Updated the row click event data to include the row data as well as the row node
hx.DataTable
rowclick
nodeHTMLElement
Added
0.15.0
hx.DataTableextendsEventEmitter
Added
Added a new module for creating data tables to replace the
Feed
Added
A feed is the type of object used by a data table to get the data for display. A feed should be an object with the following functions:
{
  headers: function (cb) { ... }
  totalCount: function (cb) { ... }
  rows: function (range, cb) { ... }
  rowsForIds: function (ids, cb) { ... }
}
There are predefined feeds for objects and urls in the hx.dataTable object. A data table expects data to be returned in the callback of each function with a specific value. If a custom feed is created, it must return the values expected by the table.
hx.dataTable
Added
An object containing the default Feed object constructors and helpers for making custom feeds.
See the Using Feeds section for more information about using and creating Feeds.