Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treetable: TreeTableSortMeta #3014

Closed
werneerm opened this issue Jun 30, 2022 · 1 comment · Fixed by #3015
Closed

Treetable: TreeTableSortMeta #3014

werneerm opened this issue Jun 30, 2022 · 1 comment · Fixed by #3015
Assignees
Labels
Typescript Issue or pull request is *only* related to TypeScript definition
Milestone

Comments

@werneerm
Copy link

werneerm commented Jun 30, 2022

Describe the bug

The event object from onSort is a multiSortMeta list which has objects with order and field fields not sortOrder and sortField props as described in TreeTableSortMeta. Also the table requires these fields so if i gave the table sortOrder and sortField it won't sort.

Reproducer

No response

PrimeReact version

8.1.1

React version

17.x

Language

TypeScript

Build / Runtime

Next.js

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@werneerm werneerm added Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: Bug Issue contains a defect related to a specific component. labels Jun 30, 2022
@melloware melloware added Typescript Issue or pull request is *only* related to TypeScript definition and removed Type: Bug Issue contains a defect related to a specific component. Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jun 30, 2022
@melloware melloware self-assigned this Jun 30, 2022
@melloware melloware added this to the 8.2.0 milestone Jun 30, 2022
melloware added a commit to melloware/primereact that referenced this issue Jun 30, 2022
@melloware
Copy link
Member

Thanks for reporting! Check out my PR I updated the TypeScript definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typescript Issue or pull request is *only* related to TypeScript definition
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants