Skip to content

Reference ​

Top level ​

OptionRequiredDescription
typeyesAlways custom:flex-table-card
titlenoTitle of the card
entitiesyesEntities or filters for data source
columnsyesColumn definitions
strictnoHide rows without matches
sort_bynoSort by column, for example state+
disable_header_sortnoDisable manual sorting via header
max_rowsnoMaximum visible number of lines
clickablenoOpen entity dialog on click
selectablenoAllow text selection
enable_searchnoShow search field above table
auto_formatnoUse Home Assistant Formatting for Values
display_footernoShow summary row
cssnoCSS rules for this table
actionnoAction/script as data source
action_datanoData for the action
static_datanoStatic data within the card

Entities ​

OptionRequiredDescription
includeyesRegex or list of regex expressions for entities
excludenoRegex or list to exclude

If static_data, entities: [] is set.

Columns ​

OptionRequiredDescription
namenoColumn heading
idnostable column ID, important for sort_by
datayesData selector
hiddennoHide column
iconnoIcon in the header
modifynoJavaScript expression for cell value
alignnoleft, center or right
prefixnoText before cell value
suffixnoText after cell value
no_auto_formatnoDisable autoformatting for column
multi_delimiternoSeparator for multiple data values
fmtnoBuilt-in formatter
sort_unmodifiednoSort with original value
footer_typenosum, average, count, max, min or text
footer_textnoText in the footer line
footer_colspannoFooter text across multiple columns
footer_modifynoJavaScript for footer value
tap_actionnoAction when typing
hold_actionnoAction on Hold
double_tap_actionnoAction on double tap
edit_actionnoEdit and save from cell

Original reference ​

The full technical reference is in the original repository: