repositionDashboardTab()
Home > @gooddata/sdk-ui-dashboard > repositionDashboardTab
repositionDashboardTab() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates the RepositionDashboardTab command.
Signature:
export declare function repositionDashboardTab(oldIndex: number, newIndex: number, correlationId?: string): IRepositionDashboardTab;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
oldIndex |
number |
old index of the tab before the reposition |
|
newIndex |
number |
new index of the tab after the reposition |
|
correlationId |
string |
(Optional) specify correlation id to use for this command |
Returns:
reposition dashboard tab command