Yurui Zhang
e1690ea151
fixes deprecated lifecycle method warnings in v6 ( #1536 )
...
* try to migrate all the UNSAFE lifecycle methods
* fixes lifecycle.js
* fixes foldableTable
* changes how to reset state in pagination
2019-09-22 15:41:01 -06:00
tannerlinsley
9b2fc7680a
Update utils.js
2019-09-09 07:50:39 -06:00
Dan Ott
5875f80089
use getPrototypeOf instead of .prototype ( #1503 )
2019-09-06 10:58:41 -06:00
Thomas Rich
ab12816799
Fix 6.10 remounting/double click issue ( #1499 )
...
Fixes https://github.com/tannerlinsley/react-table/issues/1336 (or at least fixes my issue with double click not working)
2019-09-05 14:45:03 -06:00
Christian Kellner
8ea48576b8
Fixing react warnings ( #1495 )
...
* fixing react warnings
* changing forgotten names to UNSAFE_
2019-09-04 09:07:44 -06:00
Vitali Nedzvedz
5730544d35
fix: replace 'outline: none' with 'outline-width: 0' ( #1474 )
2019-08-22 14:55:42 -06:00
David H
e2f03ef2f2
* fixed docs: "getTfootThProps" does not exist in code, but "getTfootTdProps" does ( #1399 )
...
* added `column` argument to getTfootTdProps function (match getTheadThProps and other prop getters in that scope)
2019-07-16 13:21:43 -06:00
VojtechP
7a38d1fdb3
Fix components prop types ( #1390 )
2019-07-15 11:26:19 -06:00
Elie Khoury
0070d60d42
Fix initial state ( #1348 )
2019-05-30 06:32:18 -06:00
tannerlinsley
4a4d2245fd
6.10.0
2019-04-23 17:01:28 -06:00
mike391
2c2d2aa092
Add cellInfo to onExpandedChange handler. ( #1299 )
2019-04-23 16:52:03 -06:00
Tanner Linsley
92321b6d0a
Move HOC docs to readme
2019-04-23 16:51:28 -06:00
Andrue Anderson
0c15308d7a
fix: use isNaN for IE11 support ( #1313 )
2019-04-23 16:50:33 -06:00
mike391
afab8a34cc
Add cellInfo to onExpandedChange handler. ( #1299 )
2019-04-23 16:50:33 -06:00
Michael Quinn
a5a49709d4
Fix #1275 minResizeWidth not working when using functional accessor and column id ( #1276 )
2019-04-23 16:50:33 -06:00
andreaci
b75055ef38
BUG in resize columns ( #1271 )
...
* BUG in resize columns
* rows shorter than 100 chars...
* Revert "rows shorter than 100 chars..."
This reverts commit b32f17a2fe8736fe276b5026997837e6f02ec909.
2019-04-23 16:50:33 -06:00
Tanner Linsley
5301355192
Move HOC docs to readme
2019-04-23 16:50:33 -06:00
Josh McCullough
c1b399d603
cleanup all but one linting issue ( #1232 )
2019-04-23 16:50:32 -06:00
Jannik Keye
d59d7e4fba
feature: allow minResizeWidth to be set ( #1135 )
...
* feature: allow minResizeWidth to be set
* fix: add minResizeWidth propType
2019-04-23 16:48:54 -06:00
Josh McCullough
168a8e3f93
update fireFetchData to use current state for select value ( #1231 )
2019-01-31 10:09:28 -07:00
Josh McCullough
221164484f
cleanup all but one linting issue ( #1232 )
2019-01-31 10:08:31 -07:00
Andrej Gajdos
c7d2c36454
adding position prop into pagination component ( #1205 )
...
- adding isTop prop into pagination component, which allows
differentiate if pagination is on top or bottom of the table
2019-01-31 10:08:06 -07:00
Laurent P
26961d0994
[fix] filter data on all available columns not just visible one ( #1148 )
2019-01-31 10:07:06 -07:00
Devin Clark
de6389cafc
Adding IDs for select table, fixing backwards compatibility on floating left checkbox ( #1208 )
...
* Adding IDs for select all and individual row checkboxes
* Using keyfield const
2019-01-31 10:06:47 -07:00
Rahul Verma
e0f9d98819
♿ Adds aria-label prop to checkboxes ( #1191 )
2019-01-31 10:05:15 -07:00
Grzegorz Rozdzialik
0365057446
Extract pagination elements renderers to pagination props ( #1176 )
...
Pagination elements are now customizable without having
to create a new Pagination component, that would
mostly mimic the existing one in terms of functionality.
2019-01-31 10:03:27 -07:00
Evan Brodie
0a1c12faca
Adds import instructions to the HOC README ( #1168 )
...
* Adds import instructions to the HOC README
Also fixes up some language and remove other import instructions. It's better to just have the import instructions in just one place.
* Better visualizes a list of functions
2019-01-31 10:02:12 -07:00
Jannik Keye
06648b2577
feature: allow minResizeWidth to be set ( #1135 )
...
* feature: allow minResizeWidth to be set
* fix: add minResizeWidth propType
2018-10-04 14:49:11 -06:00
Leonardo Merza
836f256031
added closeExpanded function to subComponent callback ( #1121 )
2018-10-04 14:48:18 -06:00
tragessere
474244ce41
Pagination accessibility ( #1127 )
...
* Add aria-label attributes to pagination jump and row count selector with a new prop to specify different text.
* Add new text props for labels to README
2018-10-04 14:47:30 -06:00
Jakub Żurawski
b6074a9ab1
Accesibility improvement - add role to tr in treeTable ( #1114 )
2018-10-04 14:45:40 -06:00
Alec Reser
2352cac4b8
Added placeholder to filter input. ( #1087 )
...
* Added placeholder to filter input.
* Changed package.json version.
2018-10-04 14:42:59 -06:00
Robin Pham
d94f59a5fa
only update state if page prop changes ( #1082 )
2018-10-04 14:42:37 -06:00
Jeremy Liberman
7876a3876c
Resolve "cannot call class as a function" error ( #1050 )
...
When rendering a class component using the `class extends React.Component {}` syntax, you would get an error `TypeError: Cannot call a class as a function` because the check to determine whether a component was a class component was insufficient. It seems pointless to even have a check, however, because the JSX syntax can render both class and functional components.
2018-10-04 14:42:16 -06:00
maxime roma
02e65b4388
fix linter , update selectTable hoc ( #1073 )
...
* fix lint on foldable file add options to choose postion of checkbox
column
* (update hoc): selecttable options parameters position
2018-10-04 14:41:24 -06:00
Kyle Halleman
41784cd52d
allow rest props from getTfootProps for TfootComponent ( #1035 )
2018-10-04 14:39:48 -06:00
Mayank Jethva
9048835bcc
ReactTable HOC: advancedExpandTable ( #1000 )
...
* initial commit
* update readme
* update examples and src
* edit readme
* use single instance of advancedExpandTable
* add in hoc codesandbox to docs, run eslint on new source file
2018-10-04 14:39:07 -06:00
Krzysztof Kaczmarczyk
76fde77b0f
Add additional column's renderers in TreeTable HOC ( #1029 )
...
Pass Expander, PivotValue and Pivot renderers to to column constructor in TreeTable HOC
2018-10-04 14:37:44 -06:00
smoleniuch
f50b0a47cf
SelectTable - Make input component type defaults to checkbox ( #1021 )
2018-10-04 14:37:19 -06:00
Don Pflaster
ac8b497671
Tree uses accessor or ID and always shows pivot cells ( #1011 )
...
* Also check ID field when finding pivot col in treeTableHOC
* Pass the ID if you've got one on treeTableHOC
* An expandable cell should never be hidden
2018-10-04 14:36:46 -06:00
Rebekah Heacock Jones
c79806090a
Fix propTypes validation for getFooterProps ( #1007 )
...
This should be a function (like the other getXProps), not an object
2018-10-04 14:36:20 -06:00
Mario Viens
4c9b44ab48
documentation formatting fix ( #986 )
2018-05-28 01:11:35 -06:00
Efim Pasianidi
b12238d535
Add defaultPage prop ( #941 )
...
* add defaultPage prop
* fix defaultPage in manual mode
2018-05-24 16:36:19 -06:00
Steven
dd4c1e2df6
add FoldableTable ( #937 )
...
I have used this library to develop a big application for my company and had been required to make the columns are foldable. I saw that feature is useful and would like to share with everybody. Especially to all developers who developed this great component.
Let me know if any issues with My component. I will fix it accordingly.
2018-05-24 16:32:34 -06:00
Anthon Fredriksson
621c3bf092
Fixed text mismatch when doing SSR ( #957 )
...
* fixed a mismatch issue when doing ssr. made some windows-specific changes to ease contributing
* remove accidentally committed file
2018-05-24 16:27:57 -06:00
Andrew
4824b4c8cc
Remove header focus outline. Fixes react-tools/react-table#685 ( #881 )
2018-05-24 16:24:54 -06:00
Richard A
60766cf261
Add prefix to key of pad rows ( #828 )
...
Add prefix to key of pad rows so it doesn't conflict with keys of page rows.
Duplicate keys are causing rendering issues with preact.
2018-05-24 16:23:53 -06:00
Tanner Linsley
fcdc3d88bc
v6.8.6
2018-05-24 10:24:29 -06:00
Tanner Linsley
7a6ed50b81
Make data prop required, but allow it to be anything.
2018-05-18 17:34:03 -06:00
Tanner Linsley
8f062550aa
v6.8.3
2018-05-18 17:32:04 -06:00