API svyPopupFilter
Last updated
Was this helpful?
Last updated
Was this helpful?
⇐
⇐
⇐
⇐
⇐
⇐
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
⇒
⇒
⇒
⇒
⇒
Gets the version of this module
Add a params to be added into the onSelect callback arguments
param
Object
Clear the params
plugins.window.FormPopup
Creates and returns the popupFilter
callback
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
[x]
Number
[y]
Number
[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.
[jsWindowType]
Number
Type of window; should be an option of JSWindow, Default JSWindow.MODAL_DIALOG
String
Gets the popupFilter dataprovider
String
Gets the filter name
String
Array
Object
String
Gets the popupFilter text
Array
Removes a param at the specified index
index
Number
jsonState
Object
Sets the popupFilter dataprovider
dataProvider
String
operator
String
a value from scopes.svyPopupFilter.OPERATOR
popupFilterForm
Sets the popupFilter text
text
String
values
Array
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
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
[x]
Number
[y]
Number
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
Shows the popupFilter
callback
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
target
RuntimeComponent
The component to show relative to
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
[ '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
win
JSWindow
the JSWindow object to show
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
Add a params to be added into the onSelect callback arguments
param
Object
Clear the params
plugins.window.FormPopup
Creates and returns the popupFilter
callback
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
[x]
Number
[y]
Number
[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.
[jsWindowType]
Number
Type of window; should be an option of JSWindow, Default JSWindow.MODAL_DIALOG
String
Gets the popupFilter dataprovider
String
Gets the filter name
String
Array
Object
String
Gets the popupFilter text
Array
Removes a param at the specified index
index
Number
jsonState
Object
Sets the popupFilter dataprovider
dataProvider
String
operator
String
a value from scopes.svyPopupFilter.OPERATOR
popupFilterForm
Sets the popupFilter text
text
String
values
Array
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
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
[x]
Number
[y]
Number
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
Shows the popupFilter
callback
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
target
RuntimeComponent
The component to show relative to
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
[ '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
win
JSWindow
the JSWindow object to show
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
Add a params to be added into the onSelect callback arguments
param
Object
Clear the params
plugins.window.FormPopup
Creates and returns the popupFilter
callback
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
[x]
Number
[y]
Number
[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.
[jsWindowType]
Number
Type of window; should be an option of JSWindow, Default JSWindow.MODAL_DIALOG
String
Gets the popupFilter dataprovider
String
Gets the filter name
String
Array
Object
String
Gets the popupFilter text
Array
Removes a param at the specified index
index
Number
jsonState
Object
Sets the popupFilter dataprovider
dataProvider
String
operator
String
a value from scopes.svyPopupFilter.OPERATOR
popupFilterForm
Sets the popupFilter text
text
String
values
Array
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
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
[x]
Number
[y]
Number
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
Shows the popupFilter
callback
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
target
RuntimeComponent
The component to show relative to
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
[ '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
win
JSWindow
the JSWindow object to show
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
Add a params to be added into the onSelect callback arguments
param
Object
Clear the params
plugins.window.FormPopup
Creates and returns the popupFilter
callback
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
[x]
Number
[y]
Number
[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.
[jsWindowType]
Number
Type of window; should be an option of JSWindow, Default JSWindow.MODAL_DIALOG
String
Gets the popupFilter dataprovider
String
Gets the filter name
String
Array
Object
String
Gets the popupFilter text
Array
Removes a param at the specified index
index
Number
jsonState
Object
Sets the popupFilter dataprovider
dataProvider
String
operator
String
a value from scopes.svyPopupFilter.OPERATOR
popupFilterForm
Sets the popupFilter text
text
String
values
Array
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
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
[x]
Number
[y]
Number
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
Shows the popupFilter
callback
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
target
RuntimeComponent
The component to show relative to
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
[ '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
win
JSWindow
the JSWindow object to show
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
Add a params to be added into the onSelect callback arguments
param
Object
Clear the params
plugins.window.FormPopup
Creates and returns the popupFilter
callback
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
[x]
Number
[y]
Number
[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.
[jsWindowType]
Number
Type of window; should be an option of JSWindow, Default JSWindow.MODAL_DIALOG
String
Gets the popupFilter dataprovider
String
Gets the filter name
String
Array
Object
String
Gets the popupFilter text
Array
Removes a param at the specified index
index
Number
jsonState
Object
Sets the popupFilter dataprovider
dataProvider
String
operator
String
a value from scopes.svyPopupFilter.OPERATOR
popupFilterForm
Sets the popupFilter text
text
String
values
Array
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
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
[x]
Number
[y]
Number
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
Shows the popupFilter
callback
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
target
RuntimeComponent
The component to show relative to
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
[ '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
win
JSWindow
the JSWindow object to show
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
Add a params to be added into the onSelect callback arguments
param
Object
Clear the params
plugins.window.FormPopup
Creates and returns the popupFilter
JSWindow
[x]
Number
[y]
Number
[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.
[jsWindowType]
Number
Type of window; should be an option of JSWindow, Default JSWindow.MODAL_DIALOG
String
Gets the popupFilter dataprovider
String
Gets the filter name
scopes.svyLookup.Lookup
String
Array
Object
String
Gets the popupFilter text
Array
Removes a param at the specified index
index
Number
jsonState
Object
Sets the popupFilter dataprovider
dataProvider
String
operator
String
a value from scopes.svyPopupFilter.OPERATOR
popupFilterForm
Sets the popupFilter text
text
String
values
Array
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a modal Window
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
[x]
Number
[y]
Number
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
Shows the popupFilter
callback
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
target
RuntimeComponent
The component to show relative to
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
Array.<JSRecord>
| Array.<(String|Date|Number)>
Shows the popupFilter in a Window
win
JSWindow
the JSWindow object to show
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array<String
dataProvider
String
will override the lookupDataProvider
lookup
scopes.svyLookup.Lookup
Add a params to be added into the onSelect callback arguments
param
Object
Clear the params
plugins.window.FormPopup
Creates and returns the popupFilter
callback
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
JSWindow
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
[x]
Number
[y]
Number
[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.
[jsWindowType]
Number
Type of window; should be an option of JSWindow, Default JSWindow.MODAL_DIALOG
String
Gets the popupFilter dataprovider
String
Gets the filter name
String
Array
Object
String
Gets the popupFilter text
Array
Removes a param at the specified index
index
Number
jsonState
Object
Sets the popupFilter dataprovider
dataProvider
String
operator
String
a value from scopes.svyPopupFilter.OPERATOR
popupFilterForm
Sets the popupFilter text
text
String
values
Array
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
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
[x]
Number
[y]
Number
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
Shows the popupFilter
callback
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
target
RuntimeComponent
The component to show relative to
[width]
Number
The width of the popupFilter. Optional. Default is same as target component
[height]
Number
The height of the popupFilter. Optional. Default is implementation-specifc.
[ '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
win
JSWindow
the JSWindow object to show
[callback]
function
The function that will be called when a selection is made; the callback returns the following arguments: {Array} record, {Array<String
Properties
filterPopupMenu
{"addFilter":"Add filter"}
svyCheckPopupFilter
{"labelChecked":"Yes","labelUnchecked":"No"}
svyDatePopupFilter
{"labelTitle":"Date","labelToday":"Today","labelTomorrow":"Tomorrow","labelThisWeek":"This week","labelNextWeek":"Next week","labelThisMonth":"This month","labelNextMonth":"Next month","labelThisYear":"This year","labelLastYear":"Last year","operator":""}
svyTokenPopupFilter
{"searchbox":"","labelRemoveAll":"Remove all"}
svySelectPopupFilter
{"searchText":"","labelSelectAll":"Select all","labelDeselectAll":"Deselect all"}
svyIntegerPopupFilter
{"labelTitle":"Type filter value...","labelEqualTo":"Equal to","labelGreater":"Bigger than","labelSmaller":"Smaller than","labelBetween":"Between"}
svyNumberPopupFilter
{"labelTitle":"Type filter value...","labelEqualTo":"Equal to","labelGreater":"Bigger than","labelSmaller":"Smaller than","labelBetween":"Between"}
Properties
IS_NULL
isNull
NOT_NULL
!isNull
EQUALS
eq
EQUALS_OR_NULL
^
eq
LIKE
like
All values starting with search input e.g. LIKE SEARCH_WORD%
LIKE_CONTAINS
like_contains
All values containing search input e.g. LIKE %SEARCH_WORD%
GREATER_EQUAL
ge
GREATER_THEN
gt
SMALLER_EQUAL
le
SMALLER_THEN
lt
BETWEEN
BETWEEN
IS_IN
IN
Properties
MUTLI_SELECT_ICON_COLUMN_WIDTH
50
MULTI_SELECT_SHOW_TILE_HEADERS
true
CLOSE_ICON
fa fa-close
REMOVE_ICON
fa fa-trash
EXCLUDE_ICON
fas fa-minus-circle
INCLUDE_ICON
fas fa-check-circle
OPEN_FILTER_ICON
fas fa-angle-down
REMOVE_FILTER_ICON
fas fa-times
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
formName
String
formType
String
dataProvider
String
lookup
scopes.svyLookup.Lookup
String
Gets the version of this module
Returns: String
- the version of the module using the format Major.Minor.Revision
⇒
⇒ String
⇒ plugins.window.FormPopup
⇒ JSWindow
⇒ String
⇒ String
⇒ String
⇒ Array
⇒ Object
⇒ String
⇒ Array
⇒
⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
⇒ [ 'Array' ].<(String|Date|Number)>
| RuntimeForm.<AbstractLookup>
Extends:
⇐
⇒ plugins.window.FormPopup
⇒ JSWindow
⇒ String
⇒ String
⇒ String
⇒ Array
⇒ Object
⇒ String
⇒ Array
⇒
⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
⇒ [ 'Array' ].<(String|Date|Number)>
| RuntimeForm.<AbstractLookup>
Extends:
⇐
⇒ plugins.window.FormPopup
⇒ JSWindow
⇒ String
⇒ String
⇒ String
⇒ Array
⇒ Object
⇒ String
⇒ Array
⇒
⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
⇒ [ 'Array' ].<(String|Date|Number)>
| RuntimeForm.<AbstractLookup>
Extends:
⇐
⇒ plugins.window.FormPopup
⇒ JSWindow
⇒ String
⇒ String
⇒ String
⇒ Array
⇒ Object
⇒ String
⇒ Array
⇒
⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
⇒ [ 'Array' ].<(String|Date|Number)>
| RuntimeForm.<AbstractLookup>
Extends:
⇐
⇒ plugins.window.FormPopup
⇒ JSWindow
⇒ String
⇒ String
⇒ String
⇒ Array
⇒ Object
⇒ String
⇒ Array
⇒
⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
⇒ [ 'Array' ].<(String|Date|Number)>
| RuntimeForm.<AbstractLookup>
Extends:
⇐
⇒ plugins.window.FormPopup
⇒ JSWindow
⇒ String
⇒ String
⇒ scopes.svyLookup.Lookup
⇒ String
⇒ Array
⇒ Object
⇒ String
⇒ Array
⇒
⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
Overrides:
Overrides:
Returns: JSWindow
- returns a JSWindow which can be used to show the popupFilter in it using popupFilter.showWindow(window)
Overrides:
Overrides:
| RuntimeForm.<AbstractLookup>
Overrides:
Overrides:
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
Overrides:
Overrides:
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
Extends:
⇐
⇒ plugins.window.FormPopup
⇒ JSWindow
⇒ String
⇒ String
⇒ String
⇒ Array
⇒ Object
⇒ String
⇒ Array
⇒
⇒ Array.<JSRecord>
| Array.<(String|Date|Number)>
⇒ [ 'Array' ].<(String|Date|Number)>
| RuntimeForm.<AbstractLookup>