Filter Advanced
Filter Advanced is a gh-element that allows to display filters of the selected fields in the application. You can set one filter for each selected field.
Functional Characteristics
You can set filters for selected fields, which can be displayed in the current view. Then user can select filters of some fields and and filter items by them.
Value Format
The advanced filter does not have any field values.
Element Options
These options allows to configure the element and displayed filters.
Field Settings
The first group configures specifically the element field.
Name | Description |
---|---|
App | allows you to select an application to filter; details... |
Bind to table | allows to select the element that will be filtered out; details... |
App
This is the application whose elements will be filtered and whose fields are displayed in User Filter. It is selected during configuring
Bind To Table
This function allows you to select an element in which all items are displayed and which will be filtered.
User Filter
These settings allows to set filters of which fields will be displayed in the application and configure the type of the filter.
Name | Description |
---|---|
Column | shows the name of the field; details... |
Show | allows to show filter of the field to be displayed in current element; details... |
Filter type | allows to select the type of the filter; details... |
Column
This column displays names of all of the application fields.
Show
Due to this function you can configure whether the filter of the field will be displayed in the current element.
Filter type
Allows you to select the type of filter to be used in the application.
Element Style
Style of this element can be customized with the help of standard style settings. The interpretation is described in the end of the article.
Data Model
The most part of the current data model is occupied by array of user filters.
{
"data_model": {
"app_id": "28752",
"field_id": "678842",
"interpretation": [],
"user_filter": [{
"data_type": "close",
"field_id": 678837,
"filter_type": "phone_equal_or",
"show": 0
}]
}
}
Name | Type | Description |
---|---|---|
app_id | string |
contains ID of the application that is connected with the element |
field_id | string |
contains ID of the element that will be filtered using advanced filter |
interpretation | array |
contains all element interpretations |
user_filter | array |
contains all filters and their settings |
data_type | string |
contains type of the filter |
field_id | number |
contains ID of the field that will be filtered using this filter |
filter_type | string |
contains type of the filter |
show | boolean |
shows whether the filter of the certain element is shown in advanced filter or not |
Filtration
This is the element that filters out the other elements and no other filters can be applied to it.
Interpretation
The only type of interpretation allows the item to display all added filters.