Panel | ||
---|---|---|
| ||
Search TextboxThis element is used to display a text box used for search on the page. |
Attributes
Name | Description | Value |
---|---|---|
id | Unique Identifier. | Any |
name |
The search textbox name. | Any | |
visiblemodes | The modes the search textbox should be visible. | A comma-separated list of the modes (read |
, new |
, edit) | ||
visibilityconditions | The conditions that should be met in order to display the search textbox. | '[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value' |
readonly | If is true |
then the search textbox value cannot |
be changed. | true |
or false | |
readonlyconditions | The conditions that should be met in order to display |
the |
search textbox in read only mode. | '[[pagefunction, datatype, datapath ]]' | |
datapath | The data path field name. | Needs to correspond to the CRMDO object field |
datatype | The type of datapath field. | alias, java.lang.Integer, java.lang.String, ... |
refresh | The parts of the page |
that should be refreshed when the search textbox |
is changed. | page mainmenu main details tab,tabID component,is_on_tab:is_on_menu:tabID:componentID element,is_on_tab:is_on_menu:tabid:componentID:elementID section,sectionID area,areaID |
value | The value |
of the search textbox. | '[[pagefunction, datatype, datapath ]]' |
disabletimer | If its true then quick search starts when the user |
presses 'enter'. | true |
or false | |
modalref | If no modal is |
specified in the search textbox then modalref is mandatory. | modal name, component id example: <modalref>AccountQuickSearch,false:false:null: |
toAccount</modalref> |
modal |
The modal to start searching for. |
As specified in modal | |
dataformatting | Specific formatting of data |
To define the minimum number of digits for the quick search:
SEARCHSTARTMSEC:500
To define the time in milliseconds between the last key pressed
and the start of the quick search. A value between 500 and 10000 is allowed.
This value is available also in MPSETTINGS to overwrite the default of 2000 msec.
. | Define the minimum digits for the quick search: MINIMUMDIGITS: 6 Define the time in milliseconds between the last key pressed and the start of the quick search. A value between 500 and 10000 is allowed. | |
url | If the URL is specified the text in read mode is a link. | Any |
...
searchoperator | Specifies the search type | Supported values: contains begins ends |
isautocomplete | If set to true then the textbox then previous values will be shown. By default is set to true | true,false |
Examples
Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
| |||||||||||
Expand | |||||||||||
| |||||||||||
|
...