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 Head and Body Align Issue #32

Open
vetri776 opened this issue Feb 27, 2017 · 5 comments
Open

Table Head and Body Align Issue #32

vetri776 opened this issue Feb 27, 2017 · 5 comments

Comments

@vetri776
Copy link

Table header and body content not aligned well when add more columns

@hichamh
Copy link

hichamh commented Apr 7, 2017

So I ran into the same issue, did the following:
https://plnkr.co/edit/bf8KtYa4kHH94mxeU3U0?p=catalogue

@chandanreddy1206
Copy link

@hichamh The link given is not working.
Can you please share the code.

@vicodina01
Copy link

@hichamh please share the solution.. the link is broken

@ckosloski
Copy link

If you copy/paste the url above that takes you to the plnkr.

@ImproSnake
Copy link

ImproSnake commented Jun 14, 2017

@vicodina01 @chandanreddy1206

I tried the suggested Solution supplied by hichamh and it doesnt work for me.

i did the following changes in angu-fixed-header-table.js :

if (tdElems) { tdElems.style.minWidth = columnWidth + 'px'; // tdElems.style.width = columnWidth + 'px'; } if (thElem) { thElem.style.minWidth = columnWidth + 'px'; // thElem.style.width = columnWidth + 'px'; } if (tfElems) { // tfElems.style.width = columnWidth + 'px'; tfElems.style.minWidth = columnWidth + 'px' }

I replaced the set Width Style Attribute with the minWidth Attribute. That worked for me.

Hope it helps

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

6 participants