DatasetSelect#
- class jdaviz.core.template_mixin.DatasetSelect(**kwargs: Any)[source]#
Bases:
SelectPluginComponent
Plugin select for data entries, with support for single or multi-selection.
Useful API methods/attributes:
selected
select_all()
(only ifis_multiselect
)select_none()
(only ifis_multiselect
)
- Parameters:
- plugin
the parent plugin object
- itemsstr
the name of the items traitlet defined in
plugin
- selectedstr
the name of the selected traitlet defined in
plugin
- filterslist
list of strings (for built-in filters) or callables to filter to only valid options.
- default_textstr or None
the text to show for no selection. If not provided or None, no entry will be provided in the dropdown for no selection.
- manual_options: list
list of options to provide that are not automatically populated by datasets. If
default
text is provided but not inmanual_options
it will still be included as the first item in the list.
Attributes Summary
Methods Summary
get_object
(*args, **kwargs)Attributes Documentation
- default_data_cls#
- selected_dc_item#
- selected_obj#
Methods Documentation