API svyPopupFilter

Classes

AbstractPopupFilter

SvyCheckFilterAbstractPopupFilter

SvyDateFilterAbstractPopupFilter

SvyIntegerFilterAbstractPopupFilter

SvyNumberFilterAbstractPopupFilter

SvySelectFilterAbstractPopupFilter

SvyTokenFilterAbstractPopupFilter

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

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

Creates and returns the popupFilter

abstractPopupFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow

Returns: JSWindow - returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)

abstractPopupFilter.getDataProvider() ⇒ String

Gets the popupFilter dataprovider

abstractPopupFilter.getID() ⇒ String

Gets the filter name

abstractPopupFilter.getOperator() ⇒ String

abstractPopupFilter.getParams() ⇒ Array

abstractPopupFilter.getState() ⇒ Object

abstractPopupFilter.getText() ⇒ String

Gets the popupFilter text

abstractPopupFilter.getValues() ⇒ Array

abstractPopupFilter.removeParam(index)

Removes a param at the specified index

abstractPopupFilter.restoreState(jsonState) ⇒ 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)>

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)>

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

Extends: AbstractPopupFilter

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

Creates and returns the popupFilter

svyCheckFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow

Returns: JSWindow - returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)

svyCheckFilter.getDataProvider() ⇒ String

Gets the popupFilter dataprovider

svyCheckFilter.getID() ⇒ String

Gets the filter name

svyCheckFilter.getOperator() ⇒ String

svyCheckFilter.getParams() ⇒ Array

svyCheckFilter.getState() ⇒ Object

svyCheckFilter.getText() ⇒ String

Gets the popupFilter text

svyCheckFilter.getValues() ⇒ Array

svyCheckFilter.removeParam(index)

Removes a param at the specified index

svyCheckFilter.restoreState(jsonState) ⇒ 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)>

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)>

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

Extends: AbstractPopupFilter

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

Creates and returns the popupFilter

svyDateFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow

Returns: JSWindow - returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)

svyDateFilter.getDataProvider() ⇒ String

Gets the popupFilter dataprovider

svyDateFilter.getID() ⇒ String

Gets the filter name

svyDateFilter.getOperator() ⇒ String

svyDateFilter.getParams() ⇒ Array

svyDateFilter.getState() ⇒ Object

svyDateFilter.getText() ⇒ String

Gets the popupFilter text

svyDateFilter.getValues() ⇒ Array

svyDateFilter.removeParam(index)

Removes a param at the specified index

svyDateFilter.restoreState(jsonState) ⇒ 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)>

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)>

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

Extends: AbstractPopupFilter

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

Creates and returns the popupFilter

svyIntegerFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow

Returns: JSWindow - returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)

svyIntegerFilter.getDataProvider() ⇒ String

Gets the popupFilter dataprovider

svyIntegerFilter.getID() ⇒ String

Gets the filter name

svyIntegerFilter.getOperator() ⇒ String

svyIntegerFilter.getParams() ⇒ Array

svyIntegerFilter.getState() ⇒ Object

svyIntegerFilter.getText() ⇒ String

Gets the popupFilter text

svyIntegerFilter.getValues() ⇒ Array

svyIntegerFilter.removeParam(index)

Removes a param at the specified index

svyIntegerFilter.restoreState(jsonState) ⇒ 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)>

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)>

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

Extends: AbstractPopupFilter

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

Creates and returns the popupFilter

svyNumberFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow

Returns: JSWindow - returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)

svyNumberFilter.getDataProvider() ⇒ String

Gets the popupFilter dataprovider

svyNumberFilter.getID() ⇒ String

Gets the filter name

svyNumberFilter.getOperator() ⇒ String

svyNumberFilter.getParams() ⇒ Array

svyNumberFilter.getState() ⇒ Object

svyNumberFilter.getText() ⇒ String

Gets the popupFilter text

svyNumberFilter.getValues() ⇒ Array

svyNumberFilter.removeParam(index)

Removes a param at the specified index

svyNumberFilter.restoreState(jsonState) ⇒ 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)>

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)>

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

Extends: AbstractPopupFilter

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

Creates and returns the popupFilter

Overrides: createPopUp

svySelectFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ 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

Gets the popupFilter dataprovider

svySelectFilter.getID() ⇒ String

Gets the filter name

svySelectFilter.getLookup() ⇒ scopes.svyLookup.Lookup

svySelectFilter.getOperator() ⇒ String

svySelectFilter.getParams() ⇒ Array

svySelectFilter.getState() ⇒ Object

Overrides: getState

svySelectFilter.getText() ⇒ String

Gets the popupFilter text

svySelectFilter.getValues() ⇒ Array

svySelectFilter.removeParam(index)

Removes a param at the specified index

svySelectFilter.restoreState(jsonState) ⇒ 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)>

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)>

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

Extends: AbstractPopupFilter

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

Creates and returns the popupFilter

svyTokenFilter.createWindow([x], [y], [width], [height], [jsWindowType]) ⇒ JSWindow

Returns: JSWindow - returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)

svyTokenFilter.getDataProvider() ⇒ String

Gets the popupFilter dataprovider

svyTokenFilter.getID() ⇒ String

Gets the filter name

svyTokenFilter.getOperator() ⇒ String

svyTokenFilter.getParams() ⇒ Array

svyTokenFilter.getState() ⇒ Object

svyTokenFilter.getText() ⇒ String

Gets the popupFilter text

svyTokenFilter.getValues() ⇒ Array

svyTokenFilter.removeParam(index)

Removes a param at the specified index

svyTokenFilter.restoreState(jsonState) ⇒ 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)>

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)>

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

createDateFilter() ⇒ SvyDateFilter

createIntegerFilter() ⇒ SvyIntegerFilter

createNumberFilter() ⇒ SvyNumberFilter

createSelectFilter(dataProvider, lookup) ⇒ SvySelectFilter

createTokenFilter() ⇒ SvyTokenFilter

getVersion() ⇒ String

Gets the version of this module

Returns: String - the version of the module using the format Major.Minor.Revision


Last updated