Plot

Priority

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

Novem tables are made to be shown on many different displays, from small cellphone widgets to landscape orientation documents.

To give the user better control over what information is to be included in the different views we support a priority syntax for rows and columns.

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.

N.B. mail tables mtable does 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.

Rows and columns given the hidden h attribute will simply disappear if there are 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 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