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: Some Elements Are Missing Classes #7346

Open
1 of 4 tasks
incutonez opened this issue Feb 28, 2025 · 0 comments
Open
1 of 4 tasks

TreeTable: Some Elements Are Missing Classes #7346

incutonez opened this issue Feb 28, 2025 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@incutonez
Copy link

Describe the bug

When using the "hybrid" mode, I have found that some elements in the TreeTable component are missing classes. So far I have found the following:

  • TreeTable > paginatorcontainer doesn't have a class (see Image), whereas the DataTable paginatorcontainer does
  • TreeTable > headercell doesn't get the sorted class applied to it (see Image), whereas the DataTable headercell does
    • In treetable.css file (downloaded from here), it shows a class p-treetable-column-sorted that should exist but doesn't get applied

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/qwyvxgt1?file=src%2FApp.vue

Environment

Check the StackBlitz

Vue version

3.5.13

PrimeVue version

4.3.1

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

  1. Open StackBlitz
  2. Inspect the paginatorcontainer and notice the nav element doesn't have a class assigned to it
  3. Sort a column
  4. Notice this column doesn't have the p-treetable-column-sorted class assigned to it

Expected behavior

They should have classes assigned to them.

@incutonez incutonez added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant