Components

WorkersDataTable

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

This is a container for WorkersDataTable.

Component children

The following table contains a list of children.
Key Condition Type Align Description
worker React component Workers column. Each row displays a worker's avatar, name, status and time in status
calls React component Calls column. Each row displays a call task info (icon, user name and realtime task duration) if there is an active call task
tasks React component Other tasks column. Each row displays a task info (icon, user name and realtime task duration) if there is an active task

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.
legacyActiveFilter WorkersDataTable.WorkerListFilter <optional>
Used to preserve the current filter for the "old" filter system

# 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