Available Built-in Formatters
ActionsFormatter
Renders a template snippet to display row-level actions.
BooleanFormatter
Renders a boolean value as 'Yes' or 'No'.
DateFormatter
Formats a datetime string into a more readable date.
JsonDisplayFormatter
Renders a JSON object using a template snippet for display.
Must be combined with tabulator_formatter="html"
in the ColumnDefinition
to ensure proper HTML rendering in the frontend.
ListFormatter
Renders a list as a comma-separated string.
NoneAsEmptyFormatter
Renders a None
value as an empty string.
TextBoldFormatter
Renders text in bold.
TrimStringFormatter
Trims a string to a specified maximum length.
UserLinkFormatter
Generates a link to a user's profile with a placeholder avatar.
This is a custom, performant implementation that avoids expensive
user_show
calls for every row by using a placeholder.
The value
for this formatter should be a user ID.