MoveSectionItemToNewSectionPayload
Home > @gooddata/sdk-ui-dashboard > MoveSectionItemToNewSectionPayload
MoveSectionItemToNewSectionPayload interface
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Payload of the MoveSectionItemToNewSection command.
Signature:
export interface MoveSectionItemToNewSectionPayload
Properties
Property | Type | Description |
---|---|---|
itemIndex | number | (BETA) Index of section item that should be moved.Index is zero-based. |
removeOriginalSectionIfEmpty | boolean | (BETA) If true and original section stays empty after move, then it will be removed. |
sectionIndex | number | (BETA) Index of the section where the item to move is located.Index is zero-based. |
toSectionIndex | RelativeIndex | (BETA) Index of section to which should be created and the item should be moved into.Index is zero-based. For convenience you may specify -1 to move to last section. |