CustomEditor Object
field.createCustomEditor()
returns the CustomEditor object.
The Field object holds field data.
Method | Parameter | Required | Returns | Usage |
---|---|---|---|---|
getFrame() |
None |
n/a |
The iframe element with src set to the custom field editor url. |
|
setDisabled(disable)
Note: this function should be invoked after the custom editor is ready. |
ture | false |
yes |
Invokes the custom field editor's disable callback
function registered via registerDisable() function if
such exists for the custom field editor.
|
|
getValue() |
None |
n/a |
Returns the value in the custom field editor. |
|
validate() |
None |
n/a |
Invokes the custom field editor's validate callback
function registered via
|
|
resizeEditorFrame(size) |
Object with height and width |
yes |
Resizes the frame containing the custom editor to specified size. |
|
on(event, handler) |
event - string handler - function that handles the event |
yes |
Supported events:
|
|