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

2 Function Glitches Found - Step By Step Guide To Replicate #1551

Closed
listeasy opened this issue Dec 9, 2016 · 3 comments
Closed

2 Function Glitches Found - Step By Step Guide To Replicate #1551

listeasy opened this issue Dec 9, 2016 · 3 comments

Comments

@listeasy
Copy link

listeasy commented Dec 9, 2016

Glitch Found,

1.) Header Column and Grid Column are not aligned
2.) Column Resize and Column Reorder Do not function

How to duplicate:

Add 10 Header Columns Values
First Name, Last Name, Address 1, Address 2, City , State, Postal Code, Country , Phone 1, Phone 2

Add 10 Body Column Field Values
Prime, Faces, 123 somewhere st, suite 100, Los Angles , California, 90120, United States, 3101112222, 3101113333

Enable checkbox variable " Multiple selection can also be handled using check boxes by enabling the selectionMode property of column as "multiple".

Enable Vertical scroll bar variable Only "Data scrolling with fixed header is available horizontally, vertically or both. ScrollHeight and ScrollWidth values can either be fixed pixels or percentages."

Enable Column Resize "Columns can be resized using drag drop by setting the resizableColumns to true. There are two resize modes; "fit" and "expand". Fit is the default one and the overall table width does not change when a column is resized. In "expand" mode, table width also changes along with the column width. onColumnResize is a callback that passes the resized column header as a parameter."

Enable Column Reorder "Columns can be reordered using drag drop by setting the reorderableColumns to true. onColReorder is a callback that is invoked when a column is reordered."

Load the project,

Issue 1.) Grid header and grid body column values are not align.
Issue 2.) Column Resize and Column Reorder do not function.

Conclusion:
1.) If we Remove the vertical scroll bar variable.
Grid Header Values and Grid Body Column values are align and Column Resize and Column Reorder now work

@listeasy listeasy changed the title 2 Function Gliches Found - Step By Step Guide To Duplicate 2 Function Glitches Found - Step By Step Guide To Duplicate Dec 9, 2016
@listeasy listeasy changed the title 2 Function Glitches Found - Step By Step Guide To Duplicate 2 Function Glitches Found - Step By Step Guide To Replicate Dec 9, 2016
@huineng
Copy link

huineng commented Apr 20, 2017

I have exactly the same issue , reorder doesn't work in combination with scrollable.

Now also when using scrollable true and scrollWidth (either 100% of a fixed px), then when using resize "expand" and you resize, then the horizontal scrolling gets lost.

so the resize event is recalculating the total width of the table but overwriting the width set by the scrollWidth

thanks

@bmstambaugh-zz
Copy link

I am having the same issues as well in Angular 4x and PrimNG 4.0.0-rc.3. This was going to be my next submitted issue until I found this.

@cagataycivici
Copy link
Member

Tracked at;

#2890

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants