Card View
The card view shows a single-row result as a card, listing the columns as label / value pairs. It is the most readable layout when that row has many columns. The layout selector always offers the table view and the chart layouts; it offers the card layout and the simple view, which shows only the values, only when the result has exactly one row.
Choosing a layout saves it on the query (when you can edit the query), so everyone who opens the query sees the same layout. A saved card layout is applied again on later runs regardless of the row count, so a run that returns several rows is shown with it as well.
When to use cards
- A row has more columns than fit comfortably across the screen.
- You are presenting a single record (for example one customer or one order).
- You want a clean, mobile-friendly layout on a dashboard.
How it works
Choose the card layout in the result area and Kvery re-renders the current result — no re-run required. The column name is the label and the cell is the value.
Controlling what appears
Because cards are built from the same rows as the table, the same column modifiers apply:
- Hide internal columns with
hidden::so they don't clutter the card. - Use
json::to pretty-print a column that holds JSON. - Use
long::/long-value::for fields that contain longer text.
Order your SELECT columns the way you want them to read on the card — Kvery
preserves the column order from your SQL.