RepeaterCanvasService.createAddLayersCommand Method

Create a command that creates layers.
 

Parameters

layerOptions

Type: Array
ElementType: Object

 Array of this object:
     adapter: [type:dundas.view.controls.Layer] - the adapter to create the layer with.
     name :[type:string] - the name of the layer to create.
     friendlyName: [type:string] - the friendly name of the layer to create.
     gridTemplateAdornerOptions: [type:object] - Options to customize the grid template adorner. See dundas.controls.Canvas.createLayer.
 
notUndoable

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

Return Value


Type: Command
The command created.