All notable changes to this project will be documented in this file. This change log follows the conventions of keepachangelog.com.
- Added support for dragging & dropping table rows
- Moved default-pagination-controls view component to new namespace: re-frame-datatable.views
- Reorganized documentation in a new way (including subsections)
- Update to ClojureScript 1.9.908, re-frame 0.10.1 and reagent 0.7.0
- Ability to change pagination size via events (+ default page size selector control)
- Support for custom sorting comparator function via ::comp-fn
- Fixed bug with incorrect ::cure-page calculation when data-source has changed and this page is not exist
- Fixed propagation of options via :component-did-update
- Sorting to work with nested data paths (Thanks to @ChrisHacker)
- Sorting on values other than the column-key value (Thanks to @ChrisHacker)
- Support ints in ::column-key (allows datatable to work with elements in collection that have nested vectors)
- Update ClojureScript 1.9.542 and fix spec ns
- ::column-label became optional
- ::column-label can now accept either string as before or an arbitrary Reagent component
- New option: ::header-enabled? which can be used to prevent DataTable from rendering
- "sortable" columns are marked with special class for styling via CSS
- Pagination controls are not rendered by default, extracted into separate component
- Ability to create own pagination controls
- Callback to unselect all rows in DataTable
- Customizable rendering of empty DataTable
- Empty DataTable doesn't select "selected all" checkbox
- Default pagination control works correctly with empty DataTable
- Support for optional extra row inside
<thead>
via ::extra-header-row-component
- Support for optional
<tfoot>
via ::footer-component
- Ability to inject arbitrary classes into rendered
<td>
and <tr>
elements - Bumped re-frame version to 0.9.1
- Selection of rows (including a subscription to selected elements)
- Changed all datatable-related keywords to namespace-qualified keywords
- Switched to re-frame 0.9.0
::render-fn
key that allows to specify custom rendering function- Styling of
<th>
element after sorting
::th-classes
key from columns-def
vector elements. Styling should happen outside of component
- Initial DataTable implmenetation
- sorting
- pagination
- Styling of
<table>
element