Skip to content

Add ability to specify initial sorting to EuiInMemoryTable#547

Merged
jen-huang merged 2 commits intoelastic:masterfrom
jen-huang:enhance/in-memory-table-initial-sort
Mar 21, 2018
Merged

Add ability to specify initial sorting to EuiInMemoryTable#547
jen-huang merged 2 commits intoelastic:masterfrom
jen-huang:enhance/in-memory-table-initial-sort

Conversation

@jen-huang
Copy link
Contributor

Fixes #464

Allows user to specify initial sorting by passing an object to the sorting prop. sorting will still take boolean values. Passing an object will enable sorting (same as using sorting={true}). The object shape is the same as the sorting prop for EuiBasicTable.

@jen-huang jen-huang requested review from cjcenizal and uboness March 20, 2018 20:08
Copy link
Contributor

@cjcenizal cjcenizal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! LGTM!

@jen-huang jen-huang force-pushed the enhance/in-memory-table-initial-sort branch from f8c8da0 to bba493f Compare March 21, 2018 18:07
@jen-huang jen-huang merged commit 769bb30 into elastic:master Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants