Skip to content

initialState.sortBy doesn't work in v7.1.0 #2518

@DarthVitalus

Description

@DarthVitalus

Describe the bug (required)
Passing an initialState.sortBy prop doesn't have effect

Provide an example via Codesandbox! (required)
https://codesandbox.io/s/young-cherry-ey6jb?file=/src/App.js only change from Sorting example from docs is added initialState prop

Steps To Reproduce (required)
Steps to reproduce the behavior:

  1. Go to provided codesandbox
  2. See rows neither sorted by firstName, nor by lastName

Expected behavior (Recommended)
rows sorted by firstName column values, then by lastName

Screenshots
Снимок экрана 2020-07-10 в 12 04 33

Desktop (please complete the following information):

  • OS: iOS
  • Browser chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions