Skip to content

Releases: GuillaumeJasmin/react-table-hoc-fixed-columns

v2.0.0-beta.1

11 Oct 09:19
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

v2 is focus on style improvement

Breaking change

You have to import CSS file, before react-table style

import 'react-table/react-table.css'
import 'react-table-hoc-fixed-columns/lib/styles.css'

Features

  • CSS in JS was removed

  • striped and highlight props was remove

  • default style of react-table is better preserve

  • full override is now easy, because all styles are placed in styles.css file

  • classNames available:

    • rthfc - at same level of ReactTable className
    • -sp - sticky position version
    • -se - scroll event version (legacy browser)

    th

    • rthfc-th-fixed - all fixed th
    • rthfc-th-fixed-left - all fixed th on the left side
    • rthfc-th-fixed-right - all fixed th on the right side
    • rthfc-th-fixed-left-last - the last fixed th on the left side
    • rthfc-th-fixed-right-last - the first fixed th on the right side

    td

    • rthfc-td-fixed - all fixed td
    • rthfc-td-fixed-left - all fixed td on the left side
    • rthfc-td-fixed-right - all fixed td on the right side
    • rthfc-td-fixed-left-last - the last fixed td on the left side
    • rthfc-td-fixed-right-last - the first fixed td on the right side

Fixed issues

v1.0.3

11 Oct 08:09
Compare
Choose a tag to compare

Bugfix

  • document is undefined in SSR - #13

v1.0.2

09 Oct 17:23
Compare
Choose a tag to compare

Bugfix

  • convert NodeList to Array with Array.from- see #17

v1.0.1

14 Sep 15:47
Compare
Choose a tag to compare

Bugfix

  • add prefix on className generated with uniqid() - see #11 and #12

v1.0.0

01 Sep 01:37
Compare
Choose a tag to compare

Demo here: https://codesandbox.io/s/jnjv6j495y

There is no breaking changes between v0 and v1

New features

  • Fixed columns can be left or right, or both. Simply use fixed: 'left' or fixed: 'right' . For v0compatibility, fixed: true is equivalent to fixed: 'left'
  • Groups can now be fixed

Improvement

  • The code was completely rewrite, with better performance and a different way to fix the columns. Now it works with sticky position, and there is a fallback for legacy browsers
  • Pivot and aggregated support was improve

v1.0.0-beta.12

23 Aug 22:38
Compare
Choose a tag to compare
v1.0.0-beta.12 Pre-release
Pre-release

Bugfix

  • remove TbodyComponent props and fix footer position with sticky version - #10

v1.0.0-beta.10

22 Aug 10:33
Compare
Choose a tag to compare
v1.0.0-beta.10 Pre-release
Pre-release

Bugfix

  • support of custom TbodyComponent

v1.0.0-beta.9

20 Aug 23:02
Compare
Choose a tag to compare
v1.0.0-beta.9 Pre-release
Pre-release

Bugfix

  • Footer with sticky position - #9

v1.0.0-beta.8

15 Aug 18:11
Compare
Choose a tag to compare
v1.0.0-beta.8 Pre-release
Pre-release

Features

  • Fixed columns now works with position: sticky, and there is a fallback for legacy browsers
  • -striped and -highlight className support
  • striped and highlighted row color can be set

v1.0.0-beta.6

14 Aug 10:30
Compare
Choose a tag to compare
v1.0.0-beta.6 Pre-release
Pre-release

Bugfix

  • sort indicator #5