Skip to content

Priority

Define which rows and columns are shown on different display sizes.

AI-assisted, human-approvednovem uses AI to review and keep our documentation up to date.

Priority controls which rows and columns remain visible when the table has limited space.

Priority is designated by regular slicing notation followed by a priority integer and a transformation option. The lower the number the higher the priority, by default all cells start with an equal priority of 0 and the option of collapsible.

Note: e-mail tables (mtable) do not support priority.

The mail table renderer does not have access to width information at run-time and as such cannot adjust to the display format. Please exercise care when designing for e-mails.

Hidden

Rows and columns given the hidden h attribute will simply disappear if there is not enough room to show them. The table will appear as if it only contains the rows and columns the users can see in their current viewport.

ctrl/config/table/cell/priority
  :   :   0   h

Collapsed

Collapsed columns and rows, designated with the c attribute, will give a visual indication that one or more row/columns have been hidden in the user view.

ctrl/config/table/cell/priority
  :   :   0   c