Row Delete
You can conditionally delete entire rows from a table using the <deleterow> tag. This is useful for dynamically removing rows based on your data.
Usage
Place the <deleterow> tag anywhere within a cell. If any cell in a row contains this tag, the entire row will be removed from the table during document generation.
<deleterow>Example
Consider a table where you want to hide rows with missing data. You can use Jinja2 conditionals in your template:
{% if item.should_hide %}<deleterow>{% endif %}When item.should_hide is True, the row will be deleted from the final document.