Open vetri776 opened 7 years ago
So I ran into the same issue, did the following: https://plnkr.co/edit/bf8KtYa4kHH94mxeU3U0?p=catalogue
@hichamh The link given is not working. Can you please share the code.
@hichamh please share the solution.. the link is broken
If you copy/paste the url above that takes you to the plnkr.
@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
Table header and body content not aligned well when add more columns