Base Form AbstractLookup v1.0.0
AbstractLookup
Provides base form implementation of a lookup form. In general, direct use of this form is not needed. But developers can subclass this form to create a custom implementation.
Members
lookup : scopes.svyLookup.Lookup
The lookup object used by this lokup form
searchText : String
User input for text searching
Functions
Dismisses the popup
newInstance(lookupObj) ⇒ RuntimeForm.<AbstractLookup>
onCreateInstance(jsForm, lookupObj)
Hook for sub form(s) to implement specific sol model additions
Callback when item is selected
Runs the search. Loads records in the foundset.
showPopUp(callback, target, [width], [height], [initialValue])
Shows this form as pop-up, returns selection in callback
dismiss()
Dismisses the popup
newInstance(lookupObj) ⇒ RuntimeForm.<AbstractLookup>
RuntimeForm.<AbstractLookup>
lookupObj
scopes.svyLookup.Lookup
newInstance~form : RuntimeForm.<AbstractLookup>
RuntimeForm.<AbstractLookup>
onCreateInstance(jsForm, lookupObj)
Hook for sub form(s) to implement specific sol model additions
jsForm
JSForm
lookupObj
scopes.svyLookup.Lookup
onSelect()
Callback when item is selected
search()
Runs the search. Loads records in the foundset.
showPopUp(callback, target, [width], [height], [initialValue])
Shows this form as pop-up, returns selection in callback
callback
function
The function that is called when selection happens
target
RuntimeComponent
The component which will be shown
[width]
Number
The width of the pop-up. Optional. Default is component width
[height]
Number
The height of the pop-up. Optional. Default is form height.
[initialValue]
String
Initial value in search. Optional. Default is empty.
lookup : scopes.svyLookup.Lookup
scopes.svyLookup.Lookup
The lookup object used by this lokup form
searchText : String
String
User input for text searching
Last updated