Tanner Linsley
9846bf1905
Provide onClick handleOriginal function
...
Fixes #406
2017-08-02 13:15:16 -06:00
Tanner Linsley
bf88dda5dc
Revert to page 1 on filter change
...
Fixes #273
2017-08-02 12:36:49 -06:00
Tanner Linsley
7f5779a833
Some simple event propagation fixes (but not the 100% fix)
2017-08-02 12:10:46 -06:00
Tanner Linsley
8792bd95a0
Move onFetchData for better timing and reliability
...
Fixes #294
2017-08-02 08:59:54 -06:00
ldstein
098b1fec51
Max width NaN fix ( #415 )
...
* Added button to reset table state in Controlled Component story
* Fix maxWidth style when value is NaN
* code formatting
2017-08-01 21:27:40 -06:00
Tanner Linsley
750cfe3ac4
Fix Linting
2017-07-31 10:37:12 -06:00
Tanner Linsley
370f443347
Fix pivot header groups
...
Fixes #376
2017-07-31 10:29:41 -06:00
Tanner Linsley
67f8c9adf1
Cleanup
2017-07-31 09:36:29 -06:00
Tanner Linsley
867cc25899
Fixed display of inputs and checkboxes
...
Fixes #398
2017-07-31 09:27:03 -06:00
qmorel
688afd2947
[refs #321 ]: correct makePathArray function in utils ( #326 )
2017-07-19 14:43:32 -06:00
Tanner Linsley
62f19aecf0
Fix: makeTemplateComponent now supports displayName
...
Fixes #289
2017-07-05 17:08:08 -06:00
Tanner Linsley
8dc4caff45
Fix: column.getProps().rest props are now applied correctly
2017-07-05 16:58:14 -06:00
Tanner Linsley
c2e935d75b
Fix: defaultExpanded now works correctly
...
Fixes #372
2017-07-05 16:58:00 -06:00
Tanner Linsley
5ac2c1779d
Feature: column.filterAll + docs
2017-07-05 10:31:50 -06:00
Tanner Linsley
3b2432f535
Formatting with prettier + eslint
2017-07-03 09:48:24 -06:00
Jacob Cofman
7aa98887ef
fix for issue #240 ( #363 )
2017-07-03 09:14:45 -06:00
Tanner Linsley
2e3743b75f
Feature: PadRowComponent prop
2017-06-19 11:34:21 -06:00
Tanner Linsley
d9248cef2b
Added defaultSortDesc prop and formatted with prettier + project's eslint
2017-06-09 21:02:28 -06:00
Mayank Jethva
0d0e239baa
Top and Bottom Pagination ( #283 )
...
* added top and bottom pagination, included story
* version bump
* linting
* fixes
* PR fixes
* lint and fixes
* update story
* removed unused attr
2017-06-05 17:45:04 -06:00
stefaniapavel
e1a46fb77e
fix IE select visual bug ( #301 )
2017-05-30 08:44:32 -06:00
Tanner Linsley
87610c83fa
Revert overflow styles
2017-05-19 16:27:48 -06:00
Tanner Linsley
680747d1d0
Fixed: scrollbar no longer offsets flex widths, documentation deps fixed
2017-05-19 12:06:35 -06:00
Tanner Linsley
9d82cee707
Better vertical responsiveness & Fixed Header example
2017-05-16 11:50:34 -06:00
theCmaker
c5fa476b6d
Fixed issue #210 - Ignore filters on hidden columns. ( #265 )
...
* Fixed issue #210 - Ignore filters on hidden columns.
* Fixed issue #210 - Ignore filters on hidden columns
2017-05-16 09:17:36 -06:00
Mark Hatch
42e1a12ea9
Height on pagination button removed ( #275 )
2017-05-15 22:36:42 -06:00
Tanner Linsley
15945d28a1
Always keep track of internal state regardless of controlled props, but allow prop overrides
2017-05-15 21:22:58 -06:00
Tanner Linsley
a0ede1593b
Pass standard code style
2017-05-14 01:15:06 -06:00
Aaron Schwartz
95164311fa
Fix default sort algorithm ( #268 )
2017-05-12 11:42:13 -06:00
Tanner Linsley
49c5a3d5e1
Revert "Init"
...
This reverts commit f27ec1fb34 .
2017-05-11 19:03:31 -06:00
Tanner Linsley
f27ec1fb34
Init
2017-05-11 18:19:17 -06:00
terencechow
97e560cb0f
when you have no data pages shows as 0 instead of 1 ( #248 )
...
see https://react-table.js.org/?selectedKind=2.%20Demos&selectedStory=Custom%20%22No%20Data%22%20Text&full=0&down=0&left=1&panelRight=0&downPanel=kadirahq%2Fstorybook-addon-actions%2Factions-panel
2017-05-11 13:43:05 -06:00
Tanner Linsley
2ba0bf73ad
6.0.0
...
* Use separate columns for Pivots and Expanders, more render options
* Better expanding and aggregation control
* Updated Renderer Keys and Stories (+ story cleanup)
* Fixed Typo
* Resizing Fixes, custom sorting, new api names
* +Key constants, prop/callback changes, controllable filters and resizing, subRow + pivoting expansion
* Remove console.log
* Trying generalize expanders to work on any column
* Fix up stories.
* Better custom sorting
* Finish fixing up stories with better source
* Fix SubComponent Story
* Updated Changelog
* 6.0.0
* Use Correct PivotingOptions source
* Handle edge cases in expandable hover states and event handlers
* Add defaultExpanded prop
* Rename sorting->sorted, onSortingChange->onSortedChange, defaultSorting->defaultSorted
* filtering->filtered, onFilteringChange->onFilteredChange, defaultFiltering->defaultFiltered
* Rename expandedRows->expanded, onExpandRow->onExpanded
* Rename resizing->resized, defaultResizing->defaultResized, onResize->onResizedChange
* Rename onExpanded->onExpandedChange
* Cleanup Readme
* Standardize global and column level resizable and sortable properties
* Rename showFilters->filterable, hideFilter->filterable
* Cleanup Changelog and lint errors
* Remove unused prop
* Remove unused prop from readme.
2017-05-11 13:10:17 -06:00
Miha Valencic
ad7d31cd39
Add column id to the rowInfo object ( #253 )
...
* Add column id to the rowInfo object (passed to render). Resolves #237
* Creating a new object instead of modifying existing rowInfo; Refs #253
* Code style compliance. Refs #253
2017-05-06 10:33:17 -06:00
Aaron Schwartz
9d9b1fdee4
Enhance pivots ( #224 )
...
* Prevent transitions while resizing for a smoother effect.
* Disable text selection when resizing columns
* Use PivotValueComponent instead of pivotRender
* Add changelog file
2017-05-05 12:51:17 -07:00
Aaron Schwartz
ab1c020ad3
Fix sorting indicator or pivot columns.
2017-04-20 16:13:17 -07:00
Aaron Schwartz
bc7005db99
Enhanced expander and pivot ( #215 )
...
* Convert expander column to be more like a regular column.
* Update story.
* Simplify setting render on defaultExpander.
* Add more control over expander and pivot columns using the column.
* Fix default filtering on pivot column.
* Add comments.
2017-04-20 16:41:50 -06:00
Tanner Linsley
42b5f5bb18
Convert to use es6 classes for react 15.5.x compat
2017-04-18 11:33:22 -06:00
Tanner Linsley
f502ef4e2b
Immutablely decorate with _viewIndex
...
#203
2017-04-17 09:28:31 -06:00
theCmaker
c58c96c84f
Fixed issue #14 Default CSS overwrites the checkbox appearance if included into a custom cell. ( #197 )
2017-04-17 09:15:53 -06:00
Alejandro
50668fe90f
Avoid page refresh if same page, set NaN to current page ( #178 )
...
* Avoid page refresh if same page, set NaN to current page
* Fixed styling rule errors
2017-04-07 17:07:42 -06:00
Aaron Schwartz
52f2c9fdac
Fix descending sort being non-deterministic
...
Descending sort would sort differently for the same data on rerender for items that evaluated to the same value.
2017-04-06 15:25:56 -07:00
Aaron Schwartz
9d85981c5b
Resize columns ( #170 )
...
* Add column resizing for non pivot columns.
* Fixing resizing UI issues and mobile functionality.
* Remove calling onChange during resize events so that server example doesn't refetch data every time a column resizes.
2017-04-05 17:47:55 -06:00
Eric Abbott
b779a98d7a
Change precedence in 'getResolvedState' ( #166 )
...
* Change precedence in 'getResolvedState'
* Previously existing props would overwrite passed in state
* Now passed in state gets precedence
* added a controlled table example to storybook
2017-04-05 01:10:17 -06:00
Aaron Schwartz
cef7fbd780
Add filterRender column option to customize the filter that is shown ( #162 )
...
* Add filterRender column option to completely customize the filter that is shown
* Refactor filterRender as a defaultProp.
2017-03-31 15:41:57 -06:00
Aaron Schwartz
ac20220d55
Set page to max page available if data changes and has less pages than before ( #160 )
...
* Add column filtering.
* Fix javascript warning from yarn test. Compile storybook and docs.
* Pass standard linting
* Add support for filtering pivot columns.
* Build distribution files.
* Set page to max page available if data changes and has less pages than before.
Closes #159
2017-03-30 17:02:39 -06:00
Tanner Linsley
92c9ae2196
minRows now works for datasets larger than 1 page
...
Closes #154
2017-03-29 18:02:33 -06:00
Aaron Schwartz
23a031b48a
Add column filtering ( #147 )
...
* Add column filtering.
* Fix javascript warning from yarn test. Compile storybook and docs.
* Pass standard linting
* Add support for filtering pivot columns.
* Build distribution files.
2017-03-29 16:46:04 -06:00
Ryan Palermo
4c11248c69
switch -sort-asc and -sort-desc in ternary ( #138 )
2017-03-23 13:49:03 -06:00
Misha
533bea77b6
use button type button in pagination to prevent form submitting if using table inside of the form ( #122 )
2017-03-09 09:14:49 -07:00
Misha
218cf42bb2
removed form tag from pagination component to avoid nested forms error ( #119 )
2017-03-09 07:34:44 -07:00