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

Resizable columns can break Scrollable DataTable #2890

Closed
cagataycivici opened this issue May 26, 2017 · 0 comments
Closed

Resizable columns can break Scrollable DataTable #2890

cagataycivici opened this issue May 26, 2017 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@cagataycivici
Copy link
Member

cagataycivici commented May 26, 2017

In cases where scrollWidth is bigger than total column width, table is misaligned like;

    <p-dataTable [value]="cars" scrollable="true" scrollHeight="200px" resizableColumns="true">
        <p-header>Vertical</p-header>
        <p-column field="vin" header="Vin" [style]="{width: '25%'}"></p-column>
        <p-column field="year" header="Year" [style]="{width: '25%'}"></p-column>
        <p-column field="brand" header="Brand" [style]="{width: '50%'}"></p-column>
    </p-dataTable>
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label May 26, 2017
@cagataycivici cagataycivici added this to the 4.0.2 milestone May 26, 2017
@cagataycivici cagataycivici self-assigned this May 26, 2017
@cagataycivici cagataycivici changed the title Resizable columns break Scrollable DataTable Resizable columns can break Scrollable DataTable May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

1 participant