- Add
defaultRowCountproperty to set default row count from rowCount array - Add
sortevent; triggered when column is sorted - Add
searchSettings.highlightResultsoption to wrap matching substrings that match the query in result set- Add
highlightResultscss class to options - Add
highlightResultstemplate which wraps the matched substring
- Add
- Updated search to pass row, column, and grid to converter
- Add derived cell support with a derived formatter
- Adds additional
sortKeyparameter to determine which reference should be considered for sorting
- Adds additional
- Add
sortRenderedparameter that uses the rendered cell value as the comparator- Useful is situations where the formatter expects values other than what you want to sort on
- Add
derivedformatter and converter to defaults
- Fixed bug with showing/hiding columns
- Added options for search to include hidden columns
- Fixed toggleColumn event being fired twice in some cases
- Added 4 new events
- search Fired when a search is executed
- changePage Fired when pagination is clicked
- toggleColumn Fired when the checkbox is clicked to show/hide a column
- changeRowCount Fired when changing the row count
- Added function that resolves the relative page the table show display after changing row count.
- Added option to disable the feature to resolve relative page after changing row count.
resolvePageFromRowCount: {boolean} [true]
- Sorting columns now respects the
caseSensitiveflag.
- Replaced href attributes in order to prevent hash tags so angular JS works proper; see issue #69 for more details
There are no breaking changes but some HTML templates changed during development. In case you want to use the full new feature set be sure you did not override any affected (actionDropDownItem and paginationItem) templates.
- Option to hide column from the selection box; see issue #62 for more details
- Configurable column width; see issue #22 for more details
- Contextual classes to color rows; see issue #72 for more details
- FontAwesome iconset overload
- Clear search filter method #89
- Overridable ajax request settings; see issue #27 for more details
- Adjusting search input field to perform search not on every key #109
- Public getters for internal variables; see issues #121 and #116 for more details
- Noticeable flicker on any table update #118 (Partially improved by deferring loading mask)
There are no breaking changes but some HTML templates changed during development. In case you want to use the full new feature set be sure you did not override any affected templates.
- Improved Bower and NPM packages
- Added minified version for CSS file
- Improved destroy method behaviour
- Fixed bug #40
- Fixed bug #32
- Fixed issue #25
- New option to switch the search behaviour from case sensitive to case insensitive.
- Custom CSS classes for header and body cells (solved issue #7)
- New data attribute
data-toggleto initialize bootgrid without writing any line of code (like bootstrap controls support) - Request and response handler to support JSON object transformation (solved issue #3)
- WIA-ARIA busy attribute to indicate that the table is loading
- New behaviour to maintain row selection during filtering, paging and sorting
- Entire row click selection
- New row event (
click) - Responsive table support
- New methods (
selectanddeselect) - New
data-row-idattribute for data rows (contains the row ID ifidentifieris enabled; otherwise an index of the visible rows) - New CSS class for data rows to indicate that the row is selected (
selected) - New column option
data-searchable="true"to exclude column from search (solved issue #23)
- Fixed an AJAX issue where multiple fast clicks could lead to strange results
- Fixed multi select issue
There are no breaking changes but some HTML templates changed during development. In case you want to use the full new feature set be sure you did not override any affected templates.
- Public functions for dynamic manipulation such as append and remove row(s)
- Client-side data support (without ajax calls)
- Row selecton (multi and single)
- Show/Hide column headers
- Improved formatters (former know as
data-custom="true") - Added type converters per column (
data-converter="string|numeric|custom") - Added new events (selected, deselected, appended, removed, cleared, initialize, initialized)
- Added column attribute
data-header-alignto set the alignment of the header cell independent from the body cells (solved issue #10)
- Fixed multi sorting issue
data-customis nowdata-formatterand instead of being aboolit is a event name
- Fixed a column header visualization bug regarding sorting