ElementPickerDialog

Description

Element Picker Dialog

Functions Summary

Functions

expand

Expand a tree node

elem Core.Model
Element to be expanded
expandAllParents nullable boolean
Whether expand all parents or not

select

Select an element

elem Core.Model
Element to be selected
scrollTo nullable boolean
Whether scroll to the element or not
Public API

showDialog

Show Element Picker Dialog

title string
Title of the dialog
selected nullable Element
Initial selected element when the dialog is shown
type nullable constructor
Type of selectable element
Returns: $.Promise