Skip to main content

DataFrame Layouts

SQL Frames already provides several options to display DataFrames. In addition to the rich polymorphic UI, it is also possible the rendering via formatters and renderers both at the cell and row level. However, sometimes it is simply desirable to display the data in a non-tabular format. Card layout is a great example of such a display typically used in product catalogs.

It is possible to achieve the card layout using the df.ui.addLayout() API.

Layout Selection

When layouts are added, the Organize menu contains a Layouts section providing the ablity to toggle among the different layouts including the default table layout.

Loading...