Tanner Linsley
562a2feaef
v7.0.0-rc.2
2019-12-06 16:30:08 -07:00
Tanner Linsley and GitHub
8ba553871f
Add useColumnVisibility as core hook ( #1700 )
...
* Update utils.js
* Update useTable.js
* Create useColumnVisibility.js
* Update useColumnVisibility.js
* Update useColumnVisibility.js
* Convert to core hook, use new reducerHanndler/actions
* Add useColumnVisibility internal hook
2019-12-05 15:45:25 -05:00
Tanner Linsley
92603b6a70
v7.0.0-beta.24
2019-12-03 09:40:53 -07:00
Tanner Linsley
f9a6273184
Rename useMain and useBeforeDimensions hooks
2019-12-02 16:12:23 -07:00
Tanner Linsley
127a7fca87
v7.0.0-beta.20
2019-12-02 01:28:28 -07:00
Tanner Linsley
14a9248595
Fix row selection when used with grouping
2019-11-30 23:19:45 -07:00
Tanner Linsley
58ae9edafc
Merge branch 'master' of https://github.com/react-tools/react-table
2019-11-30 22:28:53 -07:00
Tanner Linsley
50f2e84929
Fix memoization in depGetters
2019-11-30 22:28:30 -07:00
Andros Rosa Llop and Tanner Linsley
764a8ce281
Fix default resetSelectedRowsDeps ( #1663 )
...
* This one also is listening to rows, instead of data.
2019-11-29 21:14:25 -07:00
Jason Law and Tanner Linsley
0a512adaf0
fix: memory leak fix ( #1610 )
...
* fix: memory leak
* Style change
2019-11-29 21:14:04 -07:00
Tanner Linsley
3187061041
Use effect dependency user call
2019-11-20 12:09:24 -07:00
Tanner Linsley
58028e45fc
Rename disableGrouping, remove propTypes, update Readme
2019-11-20 10:23:52 -07:00
tannerlinsley
4842bc061d
fix: fix includeAll filter type, add filteredRows
2019-10-07 10:27:18 -06:00
tannerlinsley
bbfc6428b7
refactor(usetable/usetablestate): integrate useTableState into useTable
...
useTableState was an early and hasty abstraction that hasn't proved useful in many ways. Anything
you could do with useTableState, you could easily do using the same options (assuming they exist) in
the useTable hook. For this reason, state is now a first class citizen of the useTable hook, along
with more sane properties and option locations for anything pertaining to state.
2019-10-05 20:48:28 -06:00
tannerlinsley
e43968c684
feat(userowselect): add selectedFlatRows, rename state.selectedRows
...
Added instance.selectedFlatRows to know which row objects are currently selecte
2019-10-03 14:08:34 -06:00
tannerlinsley
0ef0bc4126
fix(userowselect): useRowSelect fixed to take into account filters
...
useRowSelect now takes into account filtered data when doing selectAll toggling and
isAllRowsSelected state.
2019-10-03 13:39:35 -06:00
Codar and Tanner Linsley
aea76facf1
isAllRowsSelected can only be true if there are rows. ( #1504 )
2019-09-09 08:49:40 -06:00
tannerlinsley
4665006109
fix(use-row-select): fix selection issue casued by wrong startsWith key
2019-08-23 09:24:36 -06:00
tannerlinsley
aab49949db
fix: rename some booleans to use 'is' prefix, added new logo
2019-08-20 09:31:11 -06:00
tannerlinsley
4a45cd6574
Merge branch 'master' of https://github.com/react-tools/react-table
2019-08-19 16:41:49 -06:00
tannerlinsley
f59efde6fe
fix: fix path getters, better plugin hook integration, renaming things
2019-08-19 16:38:42 -06:00
Codar and Tanner Linsley
af37eead5b
Sub rows are selected if the parent row is selected. ( #1444 )
...
* Sub rows are selected if the parent row is selected.
* Parent rows are updated accordingly if a subRow is selected.
* Updated useRowSelect snapshot tests to test subRow selection.
2019-08-18 17:40:02 -06:00
tannerlinsley
8508a6567d
feat(multiple): useRowState, fix useRowSelect/useSortBy/usePagination
2019-08-06 19:57:48 -06:00
tannerlinsley
037c32345f
feat(use-row-select): added useRowSelect plugin hook + related
2019-08-03 14:20:08 -06:00