{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\
{table:id=|class=servoy sSummery}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants Summery{th}{tr}{tbody}{tr}{td}[JSMethod]{td}{td}[#COMMAND_DEFAULT]
Constants used for setting commands to "default".{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#COMMAND_NONE]
Constant used for setting commands to "none".{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#DEFAULT]
Constant used in various places to set properties to their default value.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#IGNORE]
Constant used to remove a component from the tab sequence.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#NONE]
Constant used in various places to set properties to "none".{td}{tr}{tbody}{table}\\
{table:id=constant|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Constants Details{th}{tr}{tbody:id=COMMAND_DEFAULT|class=node}{tr:id=name}{td}h6.COMMAND_DEFAULT{td}{tr}{tr:id=des}{td}{sub-section:COMMAND_DEFAULT_des|text=|trigger=button}{sub-section}{sub-section:COMMAND_DEFAULT_des|trigger=none|class=sIndent}
Cache
index
true
refresh
100d
showRefresh
true
id
doc
title
Refresh page
showDate
true
retry
Enable
servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClientservoy sSummary12%30%58%height: 30px;3Constants SummaryConstants used for setting commands to "default".Constant used for setting commands to "none".Constant used in various places to set properties to their default value.Constant used to remove a component from the tab sequence or set form navigator to IGNORE value.Constant used in various places to set properties to "none".constantservoy sDetail2100%height:30px2Constants DetailsCOMMAND_DEFAULTname
COMMAND_DEFAULT
dessIndent
Constants used for setting commands to "default".
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:COMMAND_DEFAULT_snc|text=|trigger=button}{sub-section}{sub-section:COMMAND_DEFAULT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:COMMAND_DEFAULT_prs|text=|trigger=button}{sub-section}{sub-section:COMMAND_DEFAULT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:COMMAND_DEFAULT_ret|text=|trigger=button}{sub-section}{sub-section:COMMAND_DEFAULT_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:COMMAND_DEFAULT_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:COMMAND_DEFAULT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:COMMAND_DEFAULT_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:COMMAND_DEFAULT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:COMMAND_DEFAULT_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:COMMAND_DEFAULT_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('parentForm', 'example_data', 'parent_table', 'null', false, 1200, 800);
form.onFindCmd = SM_DEFAULTS.COMMAND_DEFAULT; // This makes the find work like it does by default.
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=COMMAND_NONE|class=node}{tr:id=name}{td}h6.COMMAND_NONE{td}{tr}{tr:id=des}{td}{sub-section:COMMAND_NONE_des|text=|trigger=button}{sub-section}{sub-section:COMMAND_NONE_des|trigger=none|class=sIndent}ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowCOMMAND_NONEname
COMMAND_NONE
dessIndent
Constant used for setting commands to "none".
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:COMMAND_NONE_snc|text=|trigger=button}{sub-section}{sub-section:COMMAND_NONE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:COMMAND_NONE_prs|text=|trigger=button}{sub-section}{sub-section:COMMAND_NONE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:COMMAND_NONE_ret|text=|trigger=button}{sub-section}{sub-section:COMMAND_NONE_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:COMMAND_NONE_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:COMMAND_NONE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:COMMAND_NONE_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:COMMAND_NONE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:COMMAND_NONE_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:COMMAND_NONE_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('parentForm', 'example_data', 'parent_table', 'null', false, 1200, 800);
form.onFindCmd = SM_DEFAULTS.COMMAND_NONE; // This disables the find on the form.
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DEFAULT|class=node}{tr:id=name}{td}h6.DEFAULT{td}{tr}{tr:id=des}{td}{sub-section:DEFAULT_des|text=|trigger=button}{sub-section}{sub-section:DEFAULT_des|trigger=none|class=sIndent}ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowDEFAULTname
DEFAULT
dessIndent
Constant used in various places to set properties to their default value.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:DEFAULT_snc|text=|trigger=button}{sub-section}{sub-section:DEFAULT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:DEFAULT_prs|text=|trigger=button}{sub-section}{sub-section:DEFAULT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:DEFAULT_ret|text=|trigger=button}{sub-section}{sub-section:DEFAULT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DEFAULT_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DEFAULT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DEFAULT_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DEFAULT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DEFAULT_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DEFAULT_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('parentForm', 'example_data', 'parent_table', 'null', false, 1200, 800);
form.navigator = SM_DEFAULTS.DEFAULT; // Show the default navigator on the form.
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=IGNORE|class=node}{tr:id=name}{td}h6.IGNORE{td}{tr}{tr:id=des}{td}{sub-section:IGNORE_des|text=|trigger=button}{sub-section}{sub-section:IGNORE_des|trigger=none|class=sIndent}ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowIGNOREname
IGNORE
dessIndent
Constant used to remove a component from the tab sequence
.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:IGNORE_snc|text=|trigger=button}{sub-section}{sub-section:IGNORE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:IGNORE_prs|text=|trigger=button}{sub-section}{sub-section:IGNORE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:IGNORE_ret|text=|trigger=button}{sub-section}{sub-section:IGNORE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:IGNORE_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:IGNORE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:IGNORE_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:IGNORE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:IGNORE_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:IGNORE_sam|trigger=none}{code:language=javascript}
// Create three fields. Based on how they are placed, by default they will come one
// after another in the tab sequence.
var fieldOne = form.newField('parent_table_id', JSField.TEXT_FIELD, 10, 10, 100, 20);
var fieldTwo = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 40, 100, 20);
var fieldThree = form.newField('parent_table_id', JSField.TEXT_FIELD, 10, 70, 100, 20);
// Set the third field come before the first in the tab sequence, and remove the
// second field from the tab sequence.
fieldOne.tabSeq = 2;
fieldTwo.tabSeq = SM_DEFAULTS.IGNORE;
fieldThree.tabSeq = 1;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=NONE|class=node}{tr:id=name}{td}h6.NONE{td}{tr}{tr:id=des}{td}{sub-section:NONE_des|text=|trigger=button}{sub-section}{sub-section:NONE_des|trigger=none|class=sIndent}
Constant used in various places to set properties to "none".
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:NONE_snc|text=|trigger=button}{sub-section}{sub-section:NONE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:NONE_prs|text=|trigger=button}{sub-section}{sub-section:NONE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:NONE_ret|text=|trigger=button}{sub-section}{sub-section:NONE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:NONE_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:NONE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:NONE_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:NONE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:NONE_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:NONE_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('parentForm', 'example_data', 'parent_table', 'null', false, 1200, 800);
form.navigator = SM_DEFAULTS.NONE; // Hide the navigator on the form.
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}ret