RepeaterCanvasService.deleteLayers Method

Deletes a layer from the current canvas.
 

Parameters

layerIdOrAdapter

Type: Array
ElementType: String or dundas.view.controls.Layer
Layer IDs or the adapters of the layer to delete.
isNotUndoable

Type: Boolean - May be null
(Optional) True to make this action not undoable.
ignoreLockedLayers

Type: Boolean - May be null
(Optional) True to ignore locked layers.
suppressWarning

Type: Boolean - May be null
(Optional) True to display console warning instead of warning message box.