horizontal scrolling in grid

59 views
Skip to first unread message

David Manns

unread,
Aug 23, 2024, 3:52:57 PM8/23/24
to py4web
Up to and including recent releases the default GridClassStyle allowed for the grid to be horizontally scrolled when necessary.

This is no longer true in master.

I found this very useful for a database tool that I have in my app (which is more powerful than the _dashboard tool ... which still seems to be able to horizontally scroll).

Is it possible to restore this?

Massimo

unread,
Aug 24, 2024, 4:50:09 AM8/24/24
to py4web
This should do it

.grid-table-wrapper { overflow-x: auto }

if you could confirm it works for you I will add it to the default layout (but not grid)

David Manns

unread,
Aug 24, 2024, 8:40:59 AM8/24/24
to py4web
I apologize, I'm not sure where this line goes?

David

David Manns

unread,
Aug 24, 2024, 9:34:21 AM8/24/24
to py4web
Works a treat, thanks!

I was staring at layout.html, should have seen where it should go, sorry!

Thanks

Massimo DiPierro

unread,
Aug 24, 2024, 10:00:20 AM8/24/24
to David Manns, py4web
thanks fr confirming. i will put it there is scaffold

--
You received this message because you are subscribed to the Google Groups "py4web" group.
To unsubscribe from this group and stop receiving emails from it, send an email to py4web+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/py4web/a2801a71-ac64-4cfb-bccd-d2781e1962c2n%40googlegroups.com.

Alan Etkin

unread,
Jan 28, 2026, 11:23:33 AMJan 28
to py4web
I'm with the same issue with a grid that has too many fields
Added the css line to no.css but it behaves the same (no horizontal scroll available)

py4web 1.20251212.1
Firefox 147.0.2

Regards
Reply all
Reply to author
Forward
0 new messages