fulcro

sheluchin 2024-11-18T19:10:18.509669Z

What is the general approach to handling different screen sizes in RAD? e.g. displaying fewer report columns when targeting a mobile resolution.

tony.kay 2024-11-18T21:19:07.044669Z

Write your own rendering plugin. I don’t have any code in any current layer to address it. The CSS for semantic UI plugin will make the table “responsive” but it’s ugly 😄

sheluchin 2024-11-18T22:08:31.617519Z

Fair enough! Thanks for the clear answer, @tony.kay. What's the best material to look at to get started on such an effort, the RAD SUI source?

tony.kay 2024-11-18T22:14:43.124849Z

Yes, and also the multimethod rendering chapter of the book

tony.kay 2024-11-18T22:16:32.843839Z

The latest versions let you easily combine mm rendering with the plugin, so that you can offload things like element formatting, but take control of layout more clearly. On reports, you have to understand that there is a top-level render, and then a row render

tony.kay 2024-11-18T22:18:37.859089Z

You could add in some kind of global js magic for detecting screen size and track that in some global var that the renderers could use? You’ve got a lot of latitude in how you do any of this