Liking cljdoc? Tell your friends :D

Change Log

All notable changes to this project will be documented in this file. This change log follows the conventions of keepachangelog.com.

[0.7.2] - 2020-10-23

Added

  • Filtering table based on input
  • Set case-sensitive searching as a default table row searching mechanism

[0.6.1] - 2018-07-06

Added

  • Added support for dragging & dropping table rows

[0.6.0] - 2017-09-09

Breaking

  • Moved default-pagination-controls view component to new namespace: re-frame-datatable.views
  • Reorganized documentation in a new way (including subsections)

Changed

  • Update to ClojureScript 1.9.908, re-frame 0.10.1 and reagent 0.7.0

Added

  • Ability to change pagination size via events (+ default page size selector control)
  • Support for custom sorting comparator function via ::comp-fn

Fixed

  • 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

[0.5.2] - 2017-05-26

Added

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

Fixed

  • Update ClojureScript 1.9.542 and fix spec ns

[0.5.1] - 2017-01-17

Added

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

[0.5.0] - 2016-12-30

Breaking

  • Pagination controls are not rendered by default, extracted into separate component

Added

  • Ability to create own pagination controls
  • Callback to unselect all rows in DataTable
  • Customizable rendering of empty DataTable

Fixed

  • Empty DataTable doesn't select "selected all" checkbox
  • Default pagination control works correctly with empty DataTable

[0.4.0] - 2016-12-27

Added

  • 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

[0.3.0] - 2016-12-21

Added

  • Selection of rows (including a subscription to selected elements)

Changed

  • Changed all datatable-related keywords to namespace-qualified keywords

[0.2.0] - 2016-12-19

Added

  • Switched to re-frame 0.9.0
  • ::render-fn key that allows to specify custom rendering function
  • Styling of <th> element after sorting

Removed

  • ::th-classes key from columns-def vector elements. Styling should happen outside of component

0.1.0 - 2016-12-15

Added

  • Initial DataTable implmenetation
  • sorting
  • pagination
  • Styling of <table> element

Can you improve this documentation? These fine people already did:
Kirill Ishanov, Kirill Ishanov (Apstra), Konrad Szydlo & Wout Neirynck
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close