Child pages
  • DEFAULTS

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Divcache
Div
iddescription
HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summary
Table Row (tr)
Table Cell (td)
JSMethod
Table Cell (td)COMMAND_DEFAULT
styleindexdisplay:none

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable
id

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

Table Cell (td)
JSMethod
Table Cell (td)COMMAND_NONE
servoy sSummary12%30%58%height: 30px;3Constants SummaryConstants used for setting commands to "default". Table Row (tr)
Table Cell (td)
Number
Table Cell (td)DEFAULT
Constant used for setting commands to "none". Table Row (tr) Table Row (tr)
Table Cell (td)
Number
Table Cell (td)IGNORE
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. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)NONE
Constant used in various places to set properties to "none". HTML Table

constantclass Colgroup Tag Colcolspanservoy sDetail2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px; Table Head (th)colspan2Constants Details Table Body (tbody)ididCOMMAND_DEFAULT Table Row (tr)name

Table Cell (td)

COMMAND_DEFAULT

Table Row (tr)id

des Table Cell (td) DivclasssIndent
Constants used for setting commands to "default".
Table Row (tr)idtd
ret

Returns

divsIndentclients

classid

Supported Clients

sIndent
JSMethod Table Row (tr)SmartClient,WebClient,NGClientsam

Table Cell (td)

Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idCOMMAND_NONE
Table Row (tr)
idname
td

Sample

Div
classsIndent
Code Block
languagejavascript
var form = solutionModel.newForm('parentForm', 'db:/example_data/parent_table', null, false, 1200, 800);
form.onFindCmd = SM_DEFAULTS.COMMAND_DEFAULT; // This makes the find work like it does by default.
sIdentjavascriptlastDetailRowCOMMAND_NONEname

COMMAND_NONE

tr

id Table Cell (td) DivclassdessIndent
Constant used for setting commands to "none".
tr
idret

Table Cell (td)

Returns

divsIndentclients

classid

Supported Clients

sIndent
JSMethod Table Row (tr)SmartClient,WebClient,NGClientsam

Table Cell (td)

Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idDEFAULT
Table Row (tr)
idname
Table Cell (td)

DEFAULT

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant used in various places to set properties to their default value.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var form = solutionModel.newForm('parentForm', 'db:/example_data/parent_table', null, false, 1200, 800);
form.navigator = SM_DEFAULTS.DEFAULT; // Show the default navigator on the form.
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idIGNORE
Table Row (tr)
idname
Table Cell (td)

IGNORE

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant used to remove a component from the tab sequence or set form navigator to IGNORE value.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
// 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;
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idNONE
Table Row (tr)
idname
Table Cell (td)

NONE

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Constant used in various places to set properties to "none".
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var form = solutionModel.newForm('parentForm', 'db:/example_data/parent_table', null, false, 1200, 800);
form.navigator = SM_DEFAULTS.NONE; // Hide the navigator on the form.
Table Row (tr)
classlastDetailRow
Table Cell (td) 

Sample

Div
classsIndent
Code Block
languagejavascript
var form = solutionModel.newForm('parentForm', 'db:/example_data/parent_table', null, false, 1200, 800);
form.onFindCmd = SM_DEFAULTS.COMMAND_NONE; // This disables the find on the form.
sIdentjavascriptlastDetailRowDEFAULTname

DEFAULT

dessIndent
Constant used in various places to set properties to their default value.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
IGNOREname

IGNORE

dessIndent
Constant used to remove a component from the tab sequence or set form navigator to IGNORE value.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
NONEname

NONE

dessIndent
Constant used in various places to set properties to "none".
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow