Skip to content

weird column toggle behavior #1062

@flc

Description

@flc

consider this example:
https://codesandbox.io/s/frosty-ellis-17cun
everything works fine.

now change

    {
        dataField: "name",
        text: "Name"
      }

to

    {
        dataField: "namex",
        text: "Name"
      }

and start toggling the columns. weird things start to happen, values start to appear in wrongs cells.
any idea on why is this happening? i know i use a dataField that is not in the data but i have a use case where i need to define dataField that is not a field of a row.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions