Components

WorkersDataTable

<WorkersDataTable {...WorkersDataTable.WorkersDataTableProps} />

This is a container for WorkersDataTable.

Members

DynamicContentStore.<WorkersDataTable.WorkersDataTableChildrenProps>

static readonly Content

Dynamic content store
WorkersDataTable.WorkersDataTableProps

static readonly defaultProps

Default properties

Type Definitions

object

ColumnDataCreationContext

ColumnDataCreationContext.
Properties:
Name Type Attributes Description
onTaskSelected function <optional>
Callback called when a task is selected.
selectedTask ITask <optional>
Selected task.
monitoredTaskSid string <optional>
Sid of the monitored task.
WorkersDataTable.WorkersDataTableProps

WorkersDataTableChildrenProps

Properties of WorkersDataTable.
Properties:
Name Type Attributes Description
filters Array.<WorkersDataTable.WorkerListFilter> <optional>
Filters workers displayed in the table.

WorkersDataTableCompareFunction

Function used to sort rows in WorkersDataTable

WorkersDataTableProps

Properties of WorkersDataTable.
Properties:
Name Type Attributes Default Description
tablePlaceHolder React.ReactNode <optional>
A React element that is displayed when table of workers is empty.
initialCompareFunction function <optional>
WorkersDataTable.defaultCompareFunction Determines workers order in the table.
filters Array.<(WorkersDataTable.WorkerListFilter|WorkersDataTable.WorkerListFilterFactory)> <optional>
WorkersDataTable.defaultFilters Filters workers displayed in the table.
taskFilter string <optional>
WorkersDataTable.taskFilter An expression used to filter out workers tasks.
selectedTask ITask <optional>
Selected task in the table.
selectedWorker IWorker <optional>
Selected worker in the table.
monitoredTaskSid string <optional>
Sid of the monitored task.
onTaskSelected function <optional>
Callback called when a task is selected from the table.
onWorkerSelected function <optional>
Callback called when a worker is selected from the table.
workers Array.<SupervisorState.SupervisorWorkerState> <optional>
List of workers.
children DynamicComponentChildren.<WorkersDataTable.WorkersDataTableChildrenProps> <optional>
children