data_node_selector class
Displays a list of the Data Node entities that can be selected.
Methods¶
__init__() ¶
__init__(
value=None,
scenario=None,
datanodes=None,
multiple=False,
filter="*",
sort="*",
show_search=True,
show_pins=True,
display_cycles=True,
show_primary_flag=True,
on_change=None,
height="50vh",
id=None,
class_name=None,
) -> None
Create a new data_node_selector
element.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
Union[DataNode,list[DataNode]]
|
None
|
|
|
Union[Scenario,list[Scenario]]
|
If set, the selector will only show the data nodes owned by this scenario or any scenario in the list. |
None
|
|
list[Union[DataNode,Scenario,Cycle]]
|
None
|
|
|
bool
|
If True, the user can select multiple data nodes, therefore the value property can hold a list of |
False
|
|
Union[bool, str, DataNodeFilter, list[Union[str, DataNodeFilter]]]
|
A list of |
*
|
|
Union[bool, str, DataNodeFilter, list[Union[str, DataNodeFilter]]]
|
A list of |
*
|
|
bool
|
If False, prevents users from searching for data nodes by label. |
True
|
|
bool
|
If True, a pin is shown on each item of the selector and allows to restrict the number of displayed items. |
True
|
|
bool
|
If False, the cycles are not shown in the selector. |
True
|
|
bool
|
If False, the primary scenarios are not identified with specific visual hint. |
True
|
|
Union[str, Callable]
|
None
|
|
|
str
|
The maximum height, in CSS units, of the control. |
50vh
|
|
str
|
The identifier that will be assigned to the rendered HTML component. |
None
|
|
str
|
The list of CSS class names associated with the generated HTML Element. |
None
|