move

moves items to different positions

void move(string id,number index);

Parameters

idstringthe ID of the item
indexnumberthe new position

Example

toolbar.data.move("profile_btn",-1);

Details

The ID should always be a string, even if in the control configuration you've set it as a number.

Back to top