Vue-good-table: Design problem in using 20+ headers in horizontal scroll

Created on 18 Jan 2018  路  10Comments  路  Source: xaksis/vue-good-table

Good day,

I tried to use 20+ headers but the table footer isn't responsive.

The search box is stuck at the left side as well.

scrolltabletest

Is there any fix for this? Thank you

bug

Most helpful comment

@deanilvincent, you need to add Component Option styleClass, with "table-responsive", my example styleClass="mb-3 table table-hover table-responsive table-bordered condensed"

All 10 comments

I also have a problem related to the responsive.
When I see the table at the mobile phone I can't adjust the width to the mobile phone screen. If you found the solution to make it responsive share it please.

@deanilvincent, you need to add Component Option styleClass, with "table-responsive", my example styleClass="mb-3 table table-hover table-responsive table-bordered condensed"

I don't know why, after I put that code in my styleClass, it's still the same. @rayets123

@deanilvincent because that is a solution only for people using bootstrap. I'll try to put in a fix for this today. In the mean time, you can create your own class emulating what bootstrap does and pass it through :styleclass property:
https://github.com/twbs/bootstrap/blob/v4-dev/scss/_tables.scss

@xaksis thank you for your quick response. I'll wait for the new version then. :)

Hello,

Unfortunately, we have come across the same issue too. Adding the table-responsive did not help at all.

http://prntscr.com/i7iix2 (Custom css applied for colors, rounded corners but even reverting it - has no affect to footer).

The main reason why we got this issue is that the footer is a different element all together http://prntscr.com/i7ik06

Maybe anyone has an idea how to fix this? :)

This should now be fixed in v1.19.2. Problem was introduced when pagination was separated from the main table rendering responsive class ineffective. closing.

@xaksis Can confirm that this issue was fixed after update for our project :)

Thank you!

Hello @xaksis still, my header is the same even I already upgraded the vue-good-table to version 1.19.2

@xaksis I can confirm that the footer is okay now. But the header position with search isn't fixed while scrolling horizontally.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tverilytt picture tverilytt  路  6Comments

jonathan-wondereur picture jonathan-wondereur  路  6Comments

LiamMcArthur picture LiamMcArthur  路  3Comments

dylanvanes picture dylanvanes  路  3Comments

hoanghiep1x0 picture hoanghiep1x0  路  5Comments