Description of icon
Flex UI
API Reference

TaskList

This is a container for TaskList.


Component children#

KeyComponentConditionAlignDescription
contentsReact componentWrapper for the tasks list. Displays vertically: a list of static tasks according to the `staticFilter` prop, the `TaskListFilter` component and a list of all tasks that match the filter selected from the `TaskListFilter` component. It uses `react-flip-move`

Static Properties#

NameDescriptionType
Content

Dynamic content store

DynamicContentStore.<TaskList.TaskListProps>
defaultProps

Default properties

TaskList.TaskListProps

Component Properties

  • selectedTaskSid?: string

    Sid of the selected task.

  • compareFunction?: function

    Callback to control how tasks should be sorted in task list. Negative number means task a should be above task b, positive number that a should be below b. 0 indicates equal priority.

  • staticFilter?: AppConfig.TaskFilterCallback

    Callback to test if a task belongs to the static area (upper area before filters) in the task list.

  • filters?: Array.<AppConfig.TaskFilter>

    Filter tasks displayed in the list.

  • onFilterChange?: function

    Callback when a filter changes.

  • onTaskSelected?: function

    Callback when a task is selected from the list.

  • tasks?: Map.<string, ITask>

    Tasks.

  • children?: DynamicContentStore.DynamicComponentChildren.<TaskList.TaskListProps>

    children

Need some help?