| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
S3FilterWidget --+
|
S3OptionsFilter
Options filter widget
Configuration options:
** Widget appearance:
@keyword label: label for the widget
@keyword comment: comment for the widget
@keyword hidden: render widget initially hidden (="advanced" option)
@keyword widget: widget to use:
"select", "multiselect" (default), or "groupedopts"
@keyword no_opts: text to show if no options available
** Options-lookup:
@keyword resource: alternative resource to look up options
@keyword lookup: field in the alternative resource to look up
@keyword options: fixed set of options (of {value: label} or
a callable that returns one)
** Options-representation:
@keyword represent: custom represent for looked-up options
(overrides field representation method)
@keyword translate: translate the option labels in the fixed set
(looked-up option sets will use the
field representation method instead)
@keyword none: label for explicit None-option in many-to-many fields
** multiselect-specific options:
@keyword search: show search-field to search for options
@keyword header: show header with bulk-actions
@keyword selectedList: number of selected items to show on
button before collapsing into number of items
** groupedopts-specific options:
@keyword cols: number of columns of checkboxes
@keyword size: maximum size of multi-letter options groups
@keyword help_field: field in the referenced table to display on
hovering over a foreign key option
| Instance Methods | |||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Class Variables | |
operator = "belongs"
|
|
alternatives = ["anyof", "contains"]
|
|
| Properties | |
|
Inherited from |
| Method Details |
Render this widget as HTML helper object(s)
|
Method to Ajax-retrieve the current options of this widget
|
| Class Variable Details |
operator
|
alternatives
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Mar 15 08:51:49 2019 | http://epydoc.sourceforge.net |