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
Ryan Palermo
10dc68acc1
use Object.getPrototypeOf instead of .prototype ( #117 )
2017-03-08 11:43:29 -07:00
Michael Bridge
bd82468852
Pass relevant attributes to footer JSX ( #116 )
2017-03-08 11:42:12 -07:00
Tanner Linsley
9e95b331df
Feature: Changing defaultSorting now updates the sorting model
2017-03-01 15:50:36 -07:00
TacticalCoding
f296b075fe
Rename CollapseOnPageChange to CollapseOnDataChange ( #100 )
...
* Rename CollapseOnPageChange to CollapseOnDataChange to more accurately reflect its purpose.
* Add support for collapseOnPageChange.
* Fix collapseOnPageChange efficiency.
2017-02-27 16:05:07 -07:00
Daniel Winter
884058b459
added missing named export for ReactTableDefaults ( #93 )
2017-02-19 07:09:29 -07:00
Tanner Linsley
782e9efdfb
Fix NoData from always showing
2017-02-16 14:02:21 -07:00
Tanner Linsley
8a362e4d04
Rollback on table partials to fix mounting/unmounting issues
2017-02-16 12:40:12 -07:00
Tanner Linsley
5155ebad72
Added more customization for functional rendering
2017-02-16 10:41:52 -07:00
Tanner Linsley
d7a58450b7
Added support for Column Footers
2017-02-16 10:41:52 -07:00
Tanner Linsley
b15f3ac3b0
Added "noData" component
...
Fixes #78
2017-02-15 09:55:42 -07:00
Tanner Linsley
48ea0df09d
Normalize all JSX callbacks to support functions
2017-02-15 09:54:57 -07:00
Tanner Linsley
ecd5658e4b
Better resolve server-side data pages and pagesize
2017-02-13 15:54:47 -07:00
Tanner Linsley
3852227bdd
Fix custom cell render to allow pure functions
2017-02-13 15:54:25 -07:00
Tanner Linsley
e702fc80ca
defaultSorting changes and doc updates
2017-02-10 16:46:14 -07:00
Tanner Linsley
cce77d24f2
Retain original data order if no sorting is found
2017-02-10 14:48:55 -07:00
Tanner Linsley
726fd52753
Adjust current page if available pages dips below current page
...
Fixes #69
2017-02-09 10:07:42 -07:00
TacticalCoding
e11fdab457
Fix 'iterator must have unique key' warning on pivoting tables. ( #56 ) ( #66 )
2017-02-07 10:31:40 -07:00