Transfer
@rockshin/tao-uiMoves records between available and selected collections.
When to use
Use for selecting several records while keeping both collections visible. Keep targetKeys in application state and use stable item keys.
Examples
Controlled target records
Select records, then use the middle action to move them. Disabled records cannot be selected.
Controlled selection and events
selectedKeys controls checkbox state independently from targetKeys. onChange also reports the direction and moved keys.
- No data
Search by multiple fields
filterOption receives the search text, item and list direction. The rendered label can differ from the searchable value.
- No data
One-way transfer and pagination
oneWay moves records right and removes them from the target list individually. Pagination applies to each list.
- /3
- Member 2
- Member 4
- /1
Footers and selection labels
Provide a footer for each direction and show selected counts with selectAllLabels.
- No data
Custom list body
The render function receives filteredItems, selectedKeys and selection callbacks. Preserve disabled behavior in your custom controls.
Custom keys, status and disabled state
rowKey supports records whose identifier is not named key. Source and target semantic styles can be configured separately.
- No data