Home > @gooddata/sdk-ui-dashboard > MoveSectionItemPayload
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 MoveSectionItem command.
export interface MoveSectionItemPayload
|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.|
|toItemIndex||RelativeIndex||(BETA) Index within the target section.Index is zero-based. For convenience you may specify -1 to append the item at the end of the target section's items.|
|toSectionIndex||RelativeIndex||(BETA) Index of section to which the item should be moved.Index is zero-based. For convenience you may specify -1 to move to last section.|