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

p-treeTable with VirtualScroll only header is resizing #9170

Closed
KimAlexander opened this issue Aug 19, 2020 · 2 comments
Closed

p-treeTable with VirtualScroll only header is resizing #9170

KimAlexander opened this issue Aug 19, 2020 · 2 comments
Assignees
Labels
LTS-FIXED-9.2.2 Fixed in PrimeNG LTS 9.2.2 LTS-FIXED-10.0.7 Fixed in PrimeNG LTS 10.0.7 Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@KimAlexander
Copy link

KimAlexander commented Aug 19, 2020

If you have a PrimeNG PRO Support subscription please post your issue at;

https://pro.primefaces.org

where our team will respond within 4 business hours.

If you do not have a PrimeNG PRO Support subscription, fill-in the report below. Please note that
your issue will be added to the waiting list of community issues and will be reviewed on a first-come first-serve basis, as a result, the support team is unable to guarantee a specific schedule on when it will be reviewed. Thank you for your understanding.

Current Queue Time for Review
Without PRO Support: ~8-12 weeks.
With PRO Support: 1 hour

I'm submitting a ... (check one with "x")

[ x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports)
Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.

https://stackblitz.com/edit/primeng-treetablescroll-demo-hatiny?file=src/app/app.component.html

Current behavior
Columns resize in tree table with virtualScroll=[true] not working

Expected behavior
columns resize should work

Minimal reproduction of the problem with instructions

Scroll down to the Virtual Scroll with 100000 Nodes section
Then, try to resize any columns vertical blue line stays

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Angular version: 5.X
  • PrimeNG version: 5.X
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5]

  • Node (for AoT issues): node --version =

@yigitfindikli yigitfindikli self-assigned this Nov 24, 2020
@yigitfindikli yigitfindikli added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Nov 24, 2020
@yigitfindikli yigitfindikli added this to the 11.0.1 milestone Nov 24, 2020
@yigitfindikli yigitfindikli modified the milestones: 11.0.0-Final, 11.0.1 Dec 7, 2020
@yigitfindikli
Copy link
Contributor

yigitfindikli commented Jan 5, 2021

Hi @KimAlexander,

You need to use colgroup. You can find detailed information under the Column Resize. There is an issue with resizing but your report is wrong. I'm gonna edit your report.

@yigitfindikli yigitfindikli changed the title Resize of the treeTable with virtualScroll=[true] not working p-treeTable with VirtualScroll only header is resizing Jan 5, 2021
@yigitfindikli yigitfindikli added LTS-PORTABLE LTS-FIXED-10.0.7 Fixed in PrimeNG LTS 10.0.7 LTS-FIXED-9.2.2 Fixed in PrimeNG LTS 9.2.2 and removed LTS-PORTABLE labels Jan 12, 2021
@khushbupatel2
Copy link

<p-virtualScroller #virtualScroller [value]="conversations" scrollHeight="500px" autosize
[rows]="conversations.length" [cache]="false" [lazy]="false">


<p [innerHTML]="row?.message ">




@ViewChild('virtualScroller', { static: false }) public virtualScroller!: VirtualScroller;
 public scrollTo(i:any): void {
 
  try {
    this.virtualScroller.scrollTo(i);
  } catch (error) {}
} when I use autosize that time  this.virtualScroller.scrollTo(i); not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTS-FIXED-9.2.2 Fixed in PrimeNG LTS 9.2.2 LTS-FIXED-10.0.7 Fixed in PrimeNG LTS 10.0.7 Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants