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

table gets distorted if I reduce column with to an extent. #31

Open
tavishiChat opened this issue Nov 24, 2017 · 1 comment
Open

table gets distorted if I reduce column with to an extent. #31

tavishiChat opened this issue Nov 24, 2017 · 1 comment

Comments

@tavishiChat
Copy link

tavishiChat commented Nov 24, 2017

when I have 3 or 4 column in my datatable, and I try to reduce width, the headers get arranged as per the width but the table body gets distorted.
Any solution for this?

@CoolRayed
Copy link

just add this code after --> var newColNeighbourWidth = Math.max(minColumnNeighbourWidth, prevNeighbourWidth - dx);

if (newColWidth === minColumnNeighbourWidth || minColumnNeighbourWidth === newColNeighbourWidth ) {
return false;
}

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

2 participants