Skip to content

Latest commit

 

History

History
153 lines (112 loc) · 6.58 KB

CHANGELOG.md

File metadata and controls

153 lines (112 loc) · 6.58 KB

Changelog

Unreleased

Enhancements & Features

  • Add defaultRowCount property to set default row count from rowCount array
  • Add sort event; triggered when column is sorted
  • Add searchSettings.highlightResults option to wrap matching substrings that match the query in result set
    • Add highlightResults css class to options
    • Add highlightResults template which wraps the matched substring

1.4.3

Enhancements & Features

  • Updated search to pass row, column, and grid to converter
  • Add derived cell support with a derived formatter
    • Adds additional sortKey parameter to determine which reference should be considered for sorting
  • Add sortRendered parameter 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 derived formatter and converter to defaults

1.4.2

Bug Fixes

  • Fixed bug with showing/hiding columns

Enhancements & Features

  • Added options for search to include hidden columns

1.4.1

Bug Fixes

  • Fixed toggleColumn event being fired twice in some cases

1.4.0

Enhancements & Features

  • 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]

1.3.2

Enhancements & Features

  • Sorting columns now respects the caseSensitive flag.

1.3.1

Enhancements & Features

  • Replaced href attributes in order to prevent hash tags so angular JS works proper; see issue #69 for more details

Breaking Changes

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.

1.3.0

Enhancements & Features

  • Option to hide column from the selection box; see issue #62 for more details

1.2.0

Enhancements & Features

  • 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)

Bug Fixes

  • Fixed bug #120
  • Fixed bug #58 by using the pull request #65
  • Fixing sort method for jQuery plugin #84

Breaking Changes

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.

1.1.4

Enhancements & Features

  • Improved Bower and NPM packages
  • Added minified version for CSS file

1.1.3

Enhancements & Features

  • Improved destroy method behaviour

Bug Fixes

  • Fixed bug #40

1.1.2

Bug Fixes

  • Fixed bug #32

1.1.1

Bug Fixes

  • Fixed issue #25

1.1.0

Enhancements & Features

  • 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-toggle to 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 (select and deselect)
  • New data-row-id attribute for data rows (contains the row ID if identifier is 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)

Bug Fixes

  • Fixed an AJAX issue where multiple fast clicks could lead to strange results
  • Fixed multi select issue

Breaking Changes

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.

1.0.0

Enhancements & Features

  • 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-align to set the alignment of the header cell independent from the body cells (solved issue #10)

Bug Fixes

  • Fixed multi sorting issue

Breaking Changes

  • data-custom is now data-formatter and instead of being a bool it is a event name

0.9.7

Bug Fixes

  • Fixed a column header visualization bug regarding sorting