bool_formatter need to be overriden, this is what I came up with:
def tabler_bool_formatter(view, value, name):
if value:
return Markup(
'<i class="ti ti-check text-green"></i>'
)
else:
return Markup(
'<i class="ti ti-x text-red"></i>'
)
It renders empty content without this.
bool_formatterneed to be overriden, this is what I came up with:It renders empty content without this.