itemIndex
Home > @gooddata/sdk-ui-dashboard > AddSectionItemsPayload > itemIndex
AddSectionItemsPayload.itemIndex property
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Index within section items where the item should be inserted.
Signature:
readonly itemIndex: RelativeIndex;
Remarks
Index is zero-based. For convenience, you may specify -1 to append the new item.
AddSectionItemsPayload.itemIndex support will be removed in the next major SDK version. Use AddSectionItemsPayload.itemPath instead.
TODO LX-648: Remove itemIndex in the next major version.