EditTable#
Base class: Table
Refinable members#
action_class
Type:
Type[iommi.action.Action]
actions
Type:
Dict[str, iommi.action.Action]
actions_below
Type:
bool
Default:
False
actions_template
Type:
Union[str, iommi._web_compat.Template]
Default:
iommi/form/actions.html
after
Type:
Union[int, str]
assets
Type:
Namespace
attrs
dict of strings to string/callable of HTML attributes to apply to the table
Type: Attrs
auto
bulk
Type:
Union[iommi.form.Form, NoneType]
bulk_container
Type: Fragment
bulk_exclude
exclude filters to apply to the
QuerySet
before performing the bulk operationType:
Namespace
Default:
{}
bulk_filter
filters to apply to the
QuerySet
before performing the bulk operationType:
Namespace
Default:
{}
cell
Type:
CellConfig
cells_class
Type:
Type[iommi.table.Cells]
columns
(use this only when not using the declarative style) a list of Column objects
Type:
Dict[str, iommi.table.Column]
container
Type: Fragment
create_form
Type: Form
default_sort_order
edit_form
Type: Form
empty_message
Type:
str
endpoints
Type:
Namespace
extra
Type:
Dict[str, Any]
extra_evaluated
Type:
Dict[str, Any]
form_class
Type:
Type[iommi.form.Form]
h_tag
Type:
Union[iommi.fragment.Fragment, str]
header
include
Type:
bool
invalid_form_message
Type:
str
iommi_style
Type:
str
member_class
model
Type:
Type[django.db.models.base.Model]
outer
Type: Fragment
page_class
Type:
Type[iommi.page.Page]
page_size
Type:
int
Default:
16
parent_form
Type:
Union[iommi.form.Form, NoneType]
parts
Type:
Namespace
post_bulk_edit
preprocess_row
preprocess_row_for_create
preprocess_rows
query
query_class
Type:
Type[iommi.query.Query]
query_from_indexes
Type:
bool
row
Type:
RowConfig
rows
a list or QuerySet of objects
sortable
set this to
False
to turn off sorting for all columnsType:
bool
Default:
True
superheader
Type:
Namespace
tag
Type:
str
Default:
table
tbody
Type: Fragment
template
Type:
Union[str, iommi._web_compat.Template]
Default:
iommi/table/table.html
title
Type:
str
Shortcuts#
div
#
Defaults#
tag
div
tbody__tag
div
cell__tag
None
row__tag
div
header__template
None