MetricSetService.moveElementBefore Method

Moves an element to before the target element. The elements must be within the same placement.
 

Parameters

metricSetId

Type: String
The ID of the metric set to add the element to.
elementToMove

Type: String
The unique name of the element to move.
elementTarget

Type: String
The unique name of the element to move it after.

Return Value


Type: jQuery.Promise
Value: dundas.entities.MetricSet
A promise object that is resolved when the call is complete. If successful, the updated dundas.entities.MetricSet is returned.