[tables] Hide column on mobile/ tablet #1008
-
I would like to propose an enhancement for Flux to improve the responsiveness of tables, especially on mobile and tablet devices. The idea is to introduce a class or property that allows developers to specify columns that should be hidden when the screen width falls below a certain threshold. Use Case: When displaying tables on smaller screens, certain columns may not be crucial to show and can disrupt the layout or readability. For example: On desktop, all columns are visible. Benefits: Enhances the usability of Flux tables on smaller screens. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@ArvidDeJong For something like this, imho Tailwind CSS is perfect. To create something 'custom' in Flux would probably only lead to duplicating the Tailwind CSS syntax/approach. e.g. (using the 2nd table example from the Flux docs), to hide the
|
Beta Was this translation helpful? Give feedback.
Works fine when tested on my end. This is the method I use in my apps all then time.
Did you run
php artisan view:clear
andnpm run dev
(orbuild
)?Can you provide the code you are using?