Releases: GuillaumeJasmin/react-table-hoc-fixed-columns
Releases · GuillaumeJasmin/react-table-hoc-fixed-columns
v2.0.0-beta.1
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 ofReactTable
className-sp
- sticky position version-se
- scroll event version (legacy browser)
th
rthfc-th-fixed
- all fixed thrthfc-th-fixed-left
- all fixed th on the left siderthfc-th-fixed-right
- all fixed th on the right siderthfc-th-fixed-left-last
- the last fixed th on the left siderthfc-th-fixed-right-last
- the first fixed th on the right side
td
rthfc-td-fixed
- all fixed tdrthfc-td-fixed-left
- all fixed td on the left siderthfc-td-fixed-right
- all fixed td on the right siderthfc-td-fixed-left-last
- the last fixed td on the left siderthfc-td-fixed-right-last
- the first fixed td on the right side
Fixed issues
v1.0.3
v1.0.2
v1.0.1
v1.0.0
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'
orfixed: 'right'
. Forv0
compatibility,fixed: true
is equivalent tofixed: '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
Bugfix
- remove
TbodyComponent
props and fix footer position with sticky version - #10
v1.0.0-beta.10
Bugfix
- support of custom
TbodyComponent
v1.0.0-beta.9
Bugfix
- Footer with sticky position - #9
v1.0.0-beta.8
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
Bugfix
- sort indicator #5