API svyPopupFilter
Classes
SvyCheckFilter ⇐ AbstractPopupFilter
SvyDateFilter ⇐ AbstractPopupFilter
SvyIntegerFilter ⇐ AbstractPopupFilter
SvyNumberFilter ⇐ AbstractPopupFilter
SvySelectFilter ⇐ AbstractPopupFilter
SvyTokenFilter ⇐ AbstractPopupFilter
Functions
applyLocaleStrings(formName, formType)
Applies the locale strings set on svyToolbarFilter.TOOLBAR_LOCALE to the matching elements for the given form identifier which is one of TOOLBAR_LOCALE's main properties
createCheckFilter() ⇒ SvyCheckFilter
createDateFilter() ⇒ SvyDateFilter
createIntegerFilter() ⇒ SvyIntegerFilter
createNumberFilter() ⇒ SvyNumberFilter
createSelectFilter(dataProvider, lookup) ⇒ SvySelectFilte
createTokenFilter() ⇒ SvyTokenFilter
getVersion() ⇒ String
Gets the version of this module
AbstractPopupFilter
.createPopUp(callback) ⇒
plugins.window.FormPopup
.getDataProvider() ⇒
String
.getID() ⇒
String
.getOperator() ⇒
String
.getParams() ⇒
Array
.getState() ⇒
Object
.getText() ⇒
String
.getValues() ⇒
Array
.showModalWindow([callback], [x], [y], [width], [height]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
.showWindow(win, [callback]) ⇒
[ 'Array' ].<(String|Date|Number)>
abstractPopupFilter.addParam(param)
Add a params to be added into the onSelect callback arguments
abstractPopupFilter.clearParams()
Clear the params
abstractPopupFilter.createPopUp(callback) ⇒ plugins.window.FormPopup
plugins.window.FormPopup
Creates and returns the popupFilter
abstractPopupFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
abstractPopupFilter.getDataProvider() ⇒ String
String
Gets the popupFilter dataprovider
abstractPopupFilter.getID() ⇒ String
String
Gets the filter name
abstractPopupFilter.getOperator() ⇒ String
String
abstractPopupFilter.getParams() ⇒ Array
Array
abstractPopupFilter.getState() ⇒ Object
Object
abstractPopupFilter.getText() ⇒ String
String
Gets the popupFilter text
abstractPopupFilter.getValues() ⇒ Array
Array
abstractPopupFilter.removeParam(index)
Removes a param at the specified index
abstractPopupFilter.restoreState(jsonState) ⇒ AbstractPopupFilter
AbstractPopupFilter
abstractPopupFilter.setDataProvider(dataProvider)
Sets the popupFilter dataprovider
abstractPopupFilter.setOperator(operator)
abstractPopupFilter.setRendererForm(popupFilterForm)
abstractPopupFilter.setText(text)
Sets the popupFilter text
abstractPopupFilter.setValues(values)
abstractPopupFilter.showModalWindow([callback], [x], [y], [width], [height]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a modal Window
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
abstractPopupFilter.showPopUp(callback, target, [width], [height])
Shows the popupFilter
abstractPopupFilter.showWindow(win, [callback]) ⇒ [ 'Array' ].<(String|Date|Number)>
[ 'Array' ].<(String|Date|Number)>
Shows the popupFilter in a Window
Returns: [ 'Array' ].<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
SvyCheckFilter ⇐ AbstractPopupFilter
AbstractPopupFilter
Extends: AbstractPopupFilter
SvyCheckFilter ⇐
AbstractPopupFilter
.createPopUp(callback) ⇒
plugins.window.FormPopup
.getDataProvider() ⇒
String
.getID() ⇒
String
.getOperator() ⇒
String
.getParams() ⇒
Array
.getState() ⇒
Object
.getText() ⇒
String
.getValues() ⇒
Array
.showModalWindow([callback], [x], [y], [width], [height]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
.showWindow(win, [callback]) ⇒
[ 'Array' ].<(String|Date|Number)>
svyCheckFilter.addParam(param)
Add a params to be added into the onSelect callback arguments
svyCheckFilter.clearParams()
Clear the params
svyCheckFilter.createPopUp(callback) ⇒ plugins.window.FormPopup
plugins.window.FormPopup
Creates and returns the popupFilter
svyCheckFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
svyCheckFilter.getDataProvider() ⇒ String
String
Gets the popupFilter dataprovider
svyCheckFilter.getID() ⇒ String
String
Gets the filter name
svyCheckFilter.getOperator() ⇒ String
String
svyCheckFilter.getParams() ⇒ Array
Array
svyCheckFilter.getState() ⇒ Object
Object
svyCheckFilter.getText() ⇒ String
String
Gets the popupFilter text
svyCheckFilter.getValues() ⇒ Array
Array
svyCheckFilter.removeParam(index)
Removes a param at the specified index
svyCheckFilter.restoreState(jsonState) ⇒ AbstractPopupFilter
AbstractPopupFilter
svyCheckFilter.setDataProvider(dataProvider)
Sets the popupFilter dataprovider
svyCheckFilter.setOperator(operator)
svyCheckFilter.setRendererForm(popupFilterForm)
svyCheckFilter.setText(text)
Sets the popupFilter text
svyCheckFilter.setValues(values)
svyCheckFilter.showModalWindow([callback], [x], [y], [width], [height]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a modal Window
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
svyCheckFilter.showPopUp(callback, target, [width], [height])
Shows the popupFilter
svyCheckFilter.showWindow(win, [callback]) ⇒ [ 'Array' ].<(String|Date|Number)>
[ 'Array' ].<(String|Date|Number)>
Shows the popupFilter in a Window
Returns: [ 'Array' ].<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
SvyDateFilter ⇐ AbstractPopupFilter
AbstractPopupFilter
Extends: AbstractPopupFilter
SvyDateFilter ⇐
AbstractPopupFilter
.createPopUp(callback) ⇒
plugins.window.FormPopup
.getDataProvider() ⇒
String
.getID() ⇒
String
.getOperator() ⇒
String
.getParams() ⇒
Array
.getState() ⇒
Object
.getText() ⇒
String
.getValues() ⇒
Array
.showModalWindow([callback], [x], [y], [width], [height]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
.showWindow(win, [callback]) ⇒
[ 'Array' ].<(String|Date|Number)>
svyDateFilter.addParam(param)
Add a params to be added into the onSelect callback arguments
svyDateFilter.clearParams()
Clear the params
svyDateFilter.createPopUp(callback) ⇒ plugins.window.FormPopup
plugins.window.FormPopup
Creates and returns the popupFilter
svyDateFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
svyDateFilter.getDataProvider() ⇒ String
String
Gets the popupFilter dataprovider
svyDateFilter.getID() ⇒ String
String
Gets the filter name
svyDateFilter.getOperator() ⇒ String
String
svyDateFilter.getParams() ⇒ Array
Array
svyDateFilter.getState() ⇒ Object
Object
svyDateFilter.getText() ⇒ String
String
Gets the popupFilter text
svyDateFilter.getValues() ⇒ Array
Array
svyDateFilter.removeParam(index)
Removes a param at the specified index
svyDateFilter.restoreState(jsonState) ⇒ AbstractPopupFilter
AbstractPopupFilter
svyDateFilter.setDataProvider(dataProvider)
Sets the popupFilter dataprovider
svyDateFilter.setOperator(operator)
svyDateFilter.setRendererForm(popupFilterForm)
svyDateFilter.setText(text)
Sets the popupFilter text
svyDateFilter.setValues(values)
svyDateFilter.showModalWindow([callback], [x], [y], [width], [height]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a modal Window
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
svyDateFilter.showPopUp(callback, target, [width], [height])
Shows the popupFilter
svyDateFilter.showWindow(win, [callback]) ⇒ [ 'Array' ].<(String|Date|Number)>
[ 'Array' ].<(String|Date|Number)>
Shows the popupFilter in a Window
Returns: [ 'Array' ].<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
SvyIntegerFilter ⇐ AbstractPopupFilter
AbstractPopupFilter
Extends: AbstractPopupFilter
SvyIntegerFilter ⇐
AbstractPopupFilter
.createPopUp(callback) ⇒
plugins.window.FormPopup
.getDataProvider() ⇒
String
.getID() ⇒
String
.getOperator() ⇒
String
.getParams() ⇒
Array
.getState() ⇒
Object
.getText() ⇒
String
.getValues() ⇒
Array
.showModalWindow([callback], [x], [y], [width], [height]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
.showWindow(win, [callback]) ⇒
[ 'Array' ].<(String|Date|Number)>
svyIntegerFilter.addParam(param)
Add a params to be added into the onSelect callback arguments
svyIntegerFilter.clearParams()
Clear the params
svyIntegerFilter.createPopUp(callback) ⇒ plugins.window.FormPopup
plugins.window.FormPopup
Creates and returns the popupFilter
svyIntegerFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
svyIntegerFilter.getDataProvider() ⇒ String
String
Gets the popupFilter dataprovider
svyIntegerFilter.getID() ⇒ String
String
Gets the filter name
svyIntegerFilter.getOperator() ⇒ String
String
svyIntegerFilter.getParams() ⇒ Array
Array
svyIntegerFilter.getState() ⇒ Object
Object
svyIntegerFilter.getText() ⇒ String
String
Gets the popupFilter text
svyIntegerFilter.getValues() ⇒ Array
Array
svyIntegerFilter.removeParam(index)
Removes a param at the specified index
svyIntegerFilter.restoreState(jsonState) ⇒ AbstractPopupFilter
AbstractPopupFilter
svyIntegerFilter.setDataProvider(dataProvider)
Sets the popupFilter dataprovider
svyIntegerFilter.setOperator(operator)
svyIntegerFilter.setRendererForm(popupFilterForm)
svyIntegerFilter.setText(text)
Sets the popupFilter text
svyIntegerFilter.setValues(values)
svyIntegerFilter.showModalWindow([callback], [x], [y], [width], [height]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a modal Window
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
svyIntegerFilter.showPopUp(callback, target, [width], [height])
Shows the popupFilter
svyIntegerFilter.showWindow(win, [callback]) ⇒ [ 'Array' ].<(String|Date|Number)>
[ 'Array' ].<(String|Date|Number)>
Shows the popupFilter in a Window
Returns: [ 'Array' ].<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
SvyNumberFilter ⇐ AbstractPopupFilter
AbstractPopupFilter
Extends: AbstractPopupFilter
SvyNumberFilter ⇐
AbstractPopupFilter
.createPopUp(callback) ⇒
plugins.window.FormPopup
.getDataProvider() ⇒
String
.getID() ⇒
String
.getOperator() ⇒
String
.getParams() ⇒
Array
.getState() ⇒
Object
.getText() ⇒
String
.getValues() ⇒
Array
.showModalWindow([callback], [x], [y], [width], [height]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
.showWindow(win, [callback]) ⇒
[ 'Array' ].<(String|Date|Number)>
svyNumberFilter.addParam(param)
Add a params to be added into the onSelect callback arguments
svyNumberFilter.clearParams()
Clear the params
svyNumberFilter.createPopUp(callback) ⇒ plugins.window.FormPopup
plugins.window.FormPopup
Creates and returns the popupFilter
svyNumberFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
svyNumberFilter.getDataProvider() ⇒ String
String
Gets the popupFilter dataprovider
svyNumberFilter.getID() ⇒ String
String
Gets the filter name
svyNumberFilter.getOperator() ⇒ String
String
svyNumberFilter.getParams() ⇒ Array
Array
svyNumberFilter.getState() ⇒ Object
Object
svyNumberFilter.getText() ⇒ String
String
Gets the popupFilter text
svyNumberFilter.getValues() ⇒ Array
Array
svyNumberFilter.removeParam(index)
Removes a param at the specified index
svyNumberFilter.restoreState(jsonState) ⇒ AbstractPopupFilter
AbstractPopupFilter
svyNumberFilter.setDataProvider(dataProvider)
Sets the popupFilter dataprovider
svyNumberFilter.setOperator(operator)
svyNumberFilter.setRendererForm(popupFilterForm)
svyNumberFilter.setText(text)
Sets the popupFilter text
svyNumberFilter.setValues(values)
svyNumberFilter.showModalWindow([callback], [x], [y], [width], [height]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a modal Window
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
svyNumberFilter.showPopUp(callback, target, [width], [height])
Shows the popupFilter
svyNumberFilter.showWindow(win, [callback]) ⇒ [ 'Array' ].<(String|Date|Number)>
[ 'Array' ].<(String|Date|Number)>
Shows the popupFilter in a Window
Returns: [ 'Array' ].<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
SvySelectFilter ⇐ AbstractPopupFilter
AbstractPopupFilter
Extends: AbstractPopupFilter
SvySelectFilter ⇐
AbstractPopupFilter
.createPopUp(callback) ⇒
plugins.window.FormPopup
.getDataProvider() ⇒
String
.getID() ⇒
String
.getLookup() ⇒
scopes.svyLookup.Lookup
.getOperator() ⇒
String
.getParams() ⇒
Array
.getState() ⇒
Object
.getText() ⇒
String
.getValues() ⇒
Array
.showModalWindow([callback], [x], [y], [width], [height]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
.showWindow(win, [callback]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
svySelectFilter.addParam(param)
Add a params to be added into the onSelect callback arguments
svySelectFilter.clearParams()
Clear the params
svySelectFilter.createPopUp(callback) ⇒ plugins.window.FormPopup
plugins.window.FormPopup
Creates and returns the popupFilter
Overrides: createPopUp
svySelectFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow
JSWindow
Overrides: createWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
svySelectFilter.getDataProvider() ⇒ String
String
Gets the popupFilter dataprovider
svySelectFilter.getID() ⇒ String
String
Gets the filter name
svySelectFilter.getLookup() ⇒ scopes.svyLookup.Lookup
scopes.svyLookup.Lookup
svySelectFilter.getOperator() ⇒ String
String
svySelectFilter.getParams() ⇒ Array
Array
svySelectFilter.getState() ⇒ Object
Object
Overrides: getState
svySelectFilter.getText() ⇒ String
String
Gets the popupFilter text
svySelectFilter.getValues() ⇒ Array
Array
svySelectFilter.removeParam(index)
Removes a param at the specified index
svySelectFilter.restoreState(jsonState) ⇒ AbstractPopupFilter
AbstractPopupFilter
Overrides: restoreState
svySelectFilter.setDataProvider(dataProvider)
Sets the popupFilter dataprovider
svySelectFilter.setOperator(operator)
svySelectFilter.setRendererForm(popupFilterForm)
svySelectFilter.setText(text)
Sets the popupFilter text
svySelectFilter.setValues(values)
Overrides: setValues
svySelectFilter.showModalWindow([callback], [x], [y], [width], [height]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a modal Window
Overrides: showModalWindow
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
svySelectFilter.showPopUp(callback, target, [width], [height])
Shows the popupFilter
Overrides: showPopUp
svySelectFilter.showWindow(win, [callback]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a Window
Overrides: showWindow
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
new SvySelectFilter(dataProvider, lookup)
SvyTokenFilter ⇐ AbstractPopupFilter
AbstractPopupFilter
Extends: AbstractPopupFilter
SvyTokenFilter ⇐
AbstractPopupFilter
.createPopUp(callback) ⇒
plugins.window.FormPopup
.getDataProvider() ⇒
String
.getID() ⇒
String
.getOperator() ⇒
String
.getParams() ⇒
Array
.getState() ⇒
Object
.getText() ⇒
String
.getValues() ⇒
Array
.showModalWindow([callback], [x], [y], [width], [height]) ⇒
Array.<JSRecord>
|Array.<(String|Date|Number)>
.showWindow(win, [callback]) ⇒
[ 'Array' ].<(String|Date|Number)>
svyTokenFilter.addParam(param)
Add a params to be added into the onSelect callback arguments
svyTokenFilter.clearParams()
Clear the params
svyTokenFilter.createPopUp(callback) ⇒ plugins.window.FormPopup
plugins.window.FormPopup
Creates and returns the popupFilter
svyTokenFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
svyTokenFilter.getDataProvider() ⇒ String
String
Gets the popupFilter dataprovider
svyTokenFilter.getID() ⇒ String
String
Gets the filter name
svyTokenFilter.getOperator() ⇒ String
String
svyTokenFilter.getParams() ⇒ Array
Array
svyTokenFilter.getState() ⇒ Object
Object
svyTokenFilter.getText() ⇒ String
String
Gets the popupFilter text
svyTokenFilter.getValues() ⇒ Array
Array
svyTokenFilter.removeParam(index)
Removes a param at the specified index
svyTokenFilter.restoreState(jsonState) ⇒ AbstractPopupFilter
AbstractPopupFilter
svyTokenFilter.setDataProvider(dataProvider)
Sets the popupFilter dataprovider
svyTokenFilter.setOperator(operator)
svyTokenFilter.setRendererForm(popupFilterForm)
svyTokenFilter.setText(text)
Sets the popupFilter text
svyTokenFilter.setValues(values)
svyTokenFilter.showModalWindow([callback], [x], [y], [width], [height]) ⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a modal Window
Returns: Array.<JSRecord>
| Array.<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
svyTokenFilter.showPopUp(callback, target, [width], [height])
Shows the popupFilter
svyTokenFilter.showWindow(win, [callback]) ⇒ [ 'Array' ].<(String|Date|Number)>
[ 'Array' ].<(String|Date|Number)>
Shows the popupFilter in a Window
Returns: [ 'Array' ].<(String|Date|Number)>
- returns the selected records; if the popupFilterDataprovider has been set instead it returns the popupFilterDataprovider values on the selected records. Returns null if the window is closed without a selection or an empty selection
LOCALE
Properties
OPERATOR
Properties
STYLING
Properties
applyLocaleStrings(formName, formType)
Applies the locale strings set on svyToolbarFilter.TOOLBAR_LOCALE to the matching elements for the given form identifier which is one of TOOLBAR_LOCALE's main properties
createCheckFilter() ⇒ SvyCheckFilter
SvyCheckFilter
createDateFilter() ⇒ SvyDateFilter
SvyDateFilter
createIntegerFilter() ⇒ SvyIntegerFilter
SvyIntegerFilter
createNumberFilter() ⇒ SvyNumberFilter
SvyNumberFilter
createSelectFilter(dataProvider, lookup) ⇒ SvySelectFilter
SvySelectFilter
createTokenFilter() ⇒ SvyTokenFilter
SvyTokenFilter
getVersion() ⇒ String
String
Gets the version of this module
Returns: String
- the version of the module using the format Major.Minor.Revision
Last updated