{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 sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[Boolean]{td}{td}[#enabled]
Gets or sets the enabled state of a form; also known as "grayed\-out".{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#readOnly]
Gets or sets the read\-only state of a form; also known as "editable"

Note: The field(s) in a form set as read\-only can be selected and the field data can be copied to clipboard.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#view]
Get/Set the current type of view of this form.{td}{tr}{tbody}{table}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[Boolean]{td}{td}[#deleteAllRecords]\()
Deletes all records in foundset, resulting in empty foundset.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#deleteRecord]\()
Delete current selected record, deletes mulitple selected records incase the foundset is using multiselect.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#duplicateRecord]\()
Duplicate current record or record at index in the form foundset.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#duplicateRecord]\(location)
Duplicate current record or record at index in the form foundset.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#duplicateRecord]\(location)
Duplicate current record or record at index in the form foundset.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#find]\(){td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#focusField]\(fieldName, skipReadonly)
Sets focus to a field specified by its name.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#focusFirstField]\()
Sets focus to the first field of the form; based on tab order sequence.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getDataProviderMaxLength]\(name)
Returns the maximum length allowed in the specified dataprovider.{td}{tr}{tbody}{tbody}{tr}{td}[Object]{td}{td}[#getDataProviderValue]\(dataProvider)
Gets a value based on the specified dataprovider name.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getDataSource]\()
Get the used datasource.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#getDesignMode]\()
Returns the state of this form designmode.{td}{tr}{tbody}{tbody}{tr}{td}[Object]{td}{td}[#getDesignTimeProperty]\()
Get a design\-time property of a form.{td}{tr}{tbody}{tbody}{tr}{td}[JSDataSet]{td}{td}[#getFormContext]\()
Gets the forms context where it resides, returns a dataset of its structure to the main controller.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getFormWidth]\()
Gets the form width in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getMaxRecordIndex]\()
Returns the current cached record count of the current foundset.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getName]\()
Get the name of this form.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getPartHeight]\(partType)
Gets the part height in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getPartYOffset]\(partType)
Returns the Y offset of a given part of the form.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getSelectedIndex]\()
Gets the current record index of the current foundset.{td}{tr}{tbody}{tbody}{tr}{td}[String]\[]{td}{td}[#getTabSequence]\()
Get an array with the names of the components that are part of the tab sequence.{td}{tr}{tbody}{tbody}{tr}{td}[JSWindow]{td}{td}[#getWindow]\()
Returns the JSWindow that the form is shown in, or null if the form is not currently showing in a window.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#invertRecords]\()
Inverts the current foundset against all rows of the current table; all records that are not in the foundset will become the current foundset.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#loadAllRecords]\()
Loads all accessible records from the datasource into the form foundset.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#loadOmittedRecords]\()
Loads the records that are currently omitted in the form foundset.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#loadRecords]\()
Loads all accessible records from the datasource into the form foundset.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#loadRecords]\(foundset)
Loads a (related) foundset into the form.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#loadRecords]\(pkdataset)
Loads a primary key dataset, will remove related sort.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#loadRecords]\(UUIDpk)
Loads a single record by primary key, will remove related sort.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#loadRecords]\(singlenNmber_pk)
Loads a single record by primary key, will remove related sort.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#loadRecords]\(queryString)
Loads records into form foundset based on a query (also known as 'Form by query').{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#loadRecords]\(queryString, queryArgumentsArray)
Loads records into form foundset based on a query (also known as 'Form by query').{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#newRecord]\()
Create a new record in the form foundset.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#newRecord]\(insertOnTop)
Create a new record in the form foundset.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#newRecord]\(location)
Create a new record in the form foundset.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#omitRecord]\()
Omit current record in form foundset, to be shown with loadOmittedRecords.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#print]\()
Print this form with current foundset, without preview.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#print]\(printCurrentRecordOnly)
Print this form with current foundset, without preview.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#print]\(printCurrentRecordOnly, showPrinterSelectDialog)
Print this form with current foundset, without preview.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#print]\(printCurrentRecordOnly, showPrinterSelectDialog, printerJob)
Print this form with current foundset, without preview.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#printXML]\()
Print this form with current foundset records to xml format.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#printXML]\(printCurrentRecordOnly)
Print this form with current foundset records to xml format.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#recreateUI]\()
Recreates the forms UI components, to reflect the latest solution model.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#relookup]\()
Performs a relookup for the current foundset record dataproviders.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#search]\(){td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#search]\(clearLastResults)
Start the database search and use the results, returns the number of records, make sure you did "find" function first.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#search]\(clearLastResults, reduceSearch)
Start the database search and use the results, returns the number of records, make sure you did "find" function first.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setDataProviderValue]\(dataprovider, value)
Sets the value based on a specified dataprovider name.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setDesignMode]\(designMode)
Sets this form in designmode with param true, false will return to normal browse/edit mode.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setDesignMode]\(ondrag)
Sets this form in designmode with one or more callback methods.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setDesignMode]\(ondrag, ondrop)
Sets this form in designmode with one or more callback methods.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setDesignMode]\(ondrag, ondrop, onselect)
Sets this form in designmode with one or more callback methods.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setDesignMode]\(ondrag, ondrop, onselect, onresize)
Sets this form in designmode with one or more callback methods.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setDesignMode]\(ondrag, ondrop, onselect, onresize, ondblclick)
Sets this form in designmode with one or more callback methods.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setDesignMode]\(ondrag, ondrop, onselect, onresize, ondblclick, onrightclick)
Sets this form in designmode with one or more callback methods.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setPageFormat]\(width, height, leftmargin, rightmargin, topmargin, bottommargin)
Set the page format to use when printing.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setPageFormat]\(width, height, leftmargin, rightmargin, topmargin, bottommargin, orientation)
Set the page format to use when printing.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setPageFormat]\(width, height, leftmargin, rightmargin, topmargin, bottommargin, orientation, units)
Set the page format to use when printing.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setPreferredPrinter]\(printerName)
Set the preferred printer name to use when printing.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setSelectedIndex]\(index)
Sets the current record index of the current foundset.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setTabSequence]\(arrayOfElements)
Set the tab order sequence programatically, by passing the elements references in a javascript array.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#show]\()
Shows the form (makes the form visible)
This function does not affect the form foundset in any way.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#show]\(window)
Shows the form (makes the form visible)
This function does not affect the form foundset in any way.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#show]\(window)
Shows the form (makes the form visible)
This function does not affect the form foundset in any way.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showPrintPreview]\()
Show this form in print preview.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showPrintPreview]\(printCurrentRecordOnly)
Show this form in print preview.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showPrintPreview]\(printCurrentRecordOnly, printerJob)
Show this form in print preview.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showPrintPreview]\(printCurrentRecordOnly, printerJob, zoomFactor)
Show this form in print preview.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(foundset)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(foundset, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(foundset, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(pkdataset)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(pkdataset, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(pkdataset, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(query)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(query, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(query, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(UUIDpk)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(UUIDpk, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(UUIDpk, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(singleNumber_pk)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(singleNumber_pk, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(singleNumber_pk, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(query)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(query, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(query, argumentsArray)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(query, argumentsArray, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(query, argumentsArray, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#showRecords]\(query, window)
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#sort]\(sortString)
Sorts the form foundset based on the given sort string.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#sort]\(sortString, defer)
Sorts the form foundset based on the given sort string.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#sortDialog]\()
Show the sort dialog to the user a preselection sortString can be passed, to sort the form foundset.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#sortDialog]\(sortString){td}{tr}{tbody}{table}\\ 

{table:id=property|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=enabled|class=node}{tr:id=name}{td}h6.enabled{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:enabled_des|trigger=button|text=}{sub-section}{sub-section:enabled_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:enabled_snc|trigger=button|text=}{sub-section}{sub-section:enabled_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:enabled_prs|trigger=button|text=}{sub-section}{sub-section:enabled_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:enabled_ret|trigger=button|text=}{sub-section}{sub-section:enabled_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:enabled_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:enabled_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:enabled_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:enabled_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:enabled_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:enabled_sam|trigger=none}{code:language=javascript}
//gets the enabled state of the form
var state = forms.customer.controller.enabled;
//enables the form for input
forms.customer.controller.enabled = true;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=readOnly|class=node}{tr:id=name}{td}h6.readOnly{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:readOnly_des|trigger=button|text=}{sub-section}{sub-section:readOnly_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:readOnly_snc|trigger=button|text=}{sub-section}{sub-section:readOnly_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:readOnly_prs|trigger=button|text=}{sub-section}{sub-section:readOnly_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:readOnly_ret|trigger=button|text=}{sub-section}{sub-section:readOnly_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:readOnly_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:readOnly_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:readOnly_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:readOnly_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:readOnly_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:readOnly_sam|trigger=none}{code:language=javascript}
//gets the read-only state of the form
var state = forms.customer.controller.readOnly;
//sets the read-only state of the form
forms.customer.controller.readOnly = true
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=view|class=node}{tr:id=name}{td}h6.view{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:view_des|trigger=button|text=}{sub-section}{sub-section:view_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:view_snc|trigger=button|text=}{sub-section}{sub-section:view_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:view_prs|trigger=button|text=}{sub-section}{sub-section:view_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:view_ret|trigger=button|text=}{sub-section}{sub-section:view_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:view_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:view_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:view_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:view_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:view_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:view_sam|trigger=none}{code:language=javascript}
//gets the type of view for this form
var view = forms.customer.controller.view;
//sets the form to Record view
forms.customer.controller.view = 0;//RECORD_VIEW
//sets the form to List view
forms.customer.controller.view = 1;//LIST_VIEW
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{table:id=function|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=deleteAllRecords|class=node}{tr:id=name}{td}h6.deleteAllRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}deleteAllRecords{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:deleteAllRecords_des|trigger=button|text=}{sub-section}{sub-section:deleteAllRecords_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:deleteAllRecords_snc|trigger=button|text=}{sub-section}{sub-section:deleteAllRecords_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:deleteAllRecords_prs|trigger=button|text=}{sub-section}{sub-section:deleteAllRecords_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:deleteAllRecords_ret|trigger=button|text=}{sub-section}{sub-section:deleteAllRecords_ret|trigger=none|class=sIndent}[Boolean] -- false incase of related foundset having records and orphans records are not allowed by the relation{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:deleteAllRecords_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:deleteAllRecords_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:deleteAllRecords_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:deleteAllRecords_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:deleteAllRecords_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:deleteAllRecords_sam|trigger=none}{code:language=javascript}
var success = forms.customer.controller.deleteAllRecords();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=deleteRecord|class=node}{tr:id=name}{td}h6.deleteRecord{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}deleteRecord{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:deleteRecord_des|trigger=button|text=}{sub-section}{sub-section:deleteRecord_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:deleteRecord_snc|trigger=button|text=}{sub-section}{sub-section:deleteRecord_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:deleteRecord_prs|trigger=button|text=}{sub-section}{sub-section:deleteRecord_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:deleteRecord_ret|trigger=button|text=}{sub-section}{sub-section:deleteRecord_ret|trigger=none|class=sIndent}[Boolean] -- false incase of related foundset having records and orphans records are not allowed by the relation{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:deleteRecord_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:deleteRecord_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:deleteRecord_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:deleteRecord_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:deleteRecord_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:deleteRecord_sam|trigger=none}{code:language=javascript}
var success = forms.customer.controller.deleteRecord();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=duplicateRecord|class=node}{tr:id=name}{td}h6.duplicateRecord{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}duplicateRecord{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:duplicateRecord_des|trigger=button|text=}{sub-section}{sub-section:duplicateRecord_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:duplicateRecord_snc|trigger=button|text=}{sub-section}{sub-section:duplicateRecord_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:duplicateRecord_prs|trigger=button|text=}{sub-section}{sub-section:duplicateRecord_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:duplicateRecord_ret|trigger=button|text=}{sub-section}{sub-section:duplicateRecord_ret|trigger=none|class=sIndent}[Boolean] -- true if succesful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:duplicateRecord_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:duplicateRecord_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:duplicateRecord_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:duplicateRecord_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:duplicateRecord_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:duplicateRecord_sam|trigger=none}{code:language=javascript}
forms.customer.controller.duplicateRecord(); //duplicate the current record, adds on top
//forms.customer.controller.duplicateRecord(false); //duplicate the current record, adds at bottom
//forms.customer.controller.duplicateRecord(1,2); //duplicate the first record as second record
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=duplicateRecord-Boolean|class=node}{tr:id=name}{td}h6.duplicateRecord{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}duplicateRecord{span}{span:id=iets|style=float: left;}\(location){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:duplicateRecord-Boolean_des|trigger=button|text=}{sub-section}{sub-section:duplicateRecord-Boolean_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:duplicateRecord-Boolean_snc|trigger=button|text=}{sub-section}{sub-section:duplicateRecord-Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:duplicateRecord-Boolean_prs|trigger=button|text=}{sub-section}{sub-section:duplicateRecord-Boolean_prs|trigger=none|class=sIndent}\{[Boolean]} location -- true adds the new record as the topmost record
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:duplicateRecord-Boolean_ret|trigger=button|text=}{sub-section}{sub-section:duplicateRecord-Boolean_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:duplicateRecord-Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:duplicateRecord-Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:duplicateRecord-Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:duplicateRecord-Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:duplicateRecord-Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:duplicateRecord-Boolean_sam|trigger=none}{code:language=javascript}
forms.customer.controller.duplicateRecord(); //duplicate the current record, adds on top
//forms.customer.controller.duplicateRecord(false); //duplicate the current record, adds at bottom
//forms.customer.controller.duplicateRecord(1,2); //duplicate the first record as second record
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=duplicateRecord-Number|class=node}{tr:id=name}{td}h6.duplicateRecord{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}duplicateRecord{span}{span:id=iets|style=float: left;}\(location){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:duplicateRecord-Number_des|trigger=button|text=}{sub-section}{sub-section:duplicateRecord-Number_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:duplicateRecord-Number_snc|trigger=button|text=}{sub-section}{sub-section:duplicateRecord-Number_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:duplicateRecord-Number_prs|trigger=button|text=}{sub-section}{sub-section:duplicateRecord-Number_prs|trigger=none|class=sIndent}\{[Number]} location -- adds at specified index
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:duplicateRecord-Number_ret|trigger=button|text=}{sub-section}{sub-section:duplicateRecord-Number_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:duplicateRecord-Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:duplicateRecord-Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:duplicateRecord-Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:duplicateRecord-Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:duplicateRecord-Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:duplicateRecord-Number_sam|trigger=none}{code:language=javascript}
forms.customer.controller.duplicateRecord(); //duplicate the current record, adds on top
//forms.customer.controller.duplicateRecord(false); //duplicate the current record, adds at bottom
//forms.customer.controller.duplicateRecord(1,2); //duplicate the first record as second record
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=find|class=node}{tr:id=name}{td}h6.find{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}find{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:find_des|trigger=button|text=}{sub-section}{sub-section:find_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:find_snc|trigger=button|text=}{sub-section}{sub-section:find_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:find_prs|trigger=button|text=}{sub-section}{sub-section:find_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:find_ret|trigger=button|text=}{sub-section}{sub-section:find_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:find_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:find_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:find_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:find_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:find_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:find_sam|trigger=none}{code:language=javascript}
if (forms.customer.controller.find()) //find will fail if autosave is disabled and there are unsaved records
{
	columnTextDataProvider = 'a search value'
	columnNumberDataProvider = '>10'
	columnDateDataProvider = '31-12-2010|dd-MM-yyyy'
	forms.customer.controller.search()
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=focusField|class=node}{tr:id=name}{td}h6.focusField{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}focusField{span}{span:id=iets|style=float: left;}\(fieldName, skipReadonly){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:focusField_des|trigger=button|text=}{sub-section}{sub-section:focusField_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:focusField_snc|trigger=button|text=}{sub-section}{sub-section:focusField_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:focusField_prs|trigger=button|text=}{sub-section}{sub-section:focusField_prs|trigger=none|class=sIndent}\{[String]} fieldName -- the name of the field to be focussed
\{[Boolean]} skipReadonly -- indication to skip read only fields, if the named field happens to be read only
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:focusField_ret|trigger=button|text=}{sub-section}{sub-section:focusField_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:focusField_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:focusField_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:focusField_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:focusField_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:focusField_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:focusField_sam|trigger=none}{code:language=javascript}
var tabseq = forms.customer.controller.getTabSequence();
if (tabseq.length > 1) {
	// If there is more than one field in the tab sequence, 
	// focus the second one and skip over readonly fields.
	forms.customer.controller.focusField(tabseq[1], true);
}
else {
	// If there is at most one field in the tab sequence, then focus
	// whatever field is first, and don't bother to skip over readonly fields.
	forms.customer.controller.focusField(null, false);
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=focusFirstField|class=node}{tr:id=name}{td}h6.focusFirstField{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}focusFirstField{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:focusFirstField_des|trigger=button|text=}{sub-section}{sub-section:focusFirstField_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:focusFirstField_snc|trigger=button|text=}{sub-section}{sub-section:focusFirstField_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:focusFirstField_prs|trigger=button|text=}{sub-section}{sub-section:focusFirstField_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:focusFirstField_ret|trigger=button|text=}{sub-section}{sub-section:focusFirstField_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:focusFirstField_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:focusFirstField_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:focusFirstField_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:focusFirstField_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:focusFirstField_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:focusFirstField_sam|trigger=none}{code:language=javascript}
forms.customer.controller.focusFirstField();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getDataProviderMaxLength|class=node}{tr:id=name}{td}h6.getDataProviderMaxLength{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getDataProviderMaxLength{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getDataProviderMaxLength_des|trigger=button|text=}{sub-section}{sub-section:getDataProviderMaxLength_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getDataProviderMaxLength_snc|trigger=button|text=}{sub-section}{sub-section:getDataProviderMaxLength_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getDataProviderMaxLength_prs|trigger=button|text=}{sub-section}{sub-section:getDataProviderMaxLength_prs|trigger=none|class=sIndent}\{[String]} name -- the dataprovider name
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getDataProviderMaxLength_ret|trigger=button|text=}{sub-section}{sub-section:getDataProviderMaxLength_ret|trigger=none|class=sIndent}[Number] -- the length{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getDataProviderMaxLength_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataProviderMaxLength_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getDataProviderMaxLength_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataProviderMaxLength_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getDataProviderMaxLength_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataProviderMaxLength_sam|trigger=none}{code:language=javascript}
forms.customer.controller.getDataProviderMaxLength('name');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getDataProviderValue|class=node}{tr:id=name}{td}h6.getDataProviderValue{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Object]{span}{span:id=iets|style=float: left; font-weight: bold;}getDataProviderValue{span}{span:id=iets|style=float: left;}\(dataProvider){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getDataProviderValue_des|trigger=button|text=}{sub-section}{sub-section:getDataProviderValue_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getDataProviderValue_snc|trigger=button|text=}{sub-section}{sub-section:getDataProviderValue_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getDataProviderValue_prs|trigger=button|text=}{sub-section}{sub-section:getDataProviderValue_prs|trigger=none|class=sIndent}\{[String]} dataProvider -- the dataprovider name to retieve the value for
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getDataProviderValue_ret|trigger=button|text=}{sub-section}{sub-section:getDataProviderValue_ret|trigger=none|class=sIndent}[Object] -- the dataprovider value (null if unknown dataprovider){sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getDataProviderValue_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataProviderValue_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getDataProviderValue_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataProviderValue_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getDataProviderValue_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataProviderValue_sam|trigger=none}{code:language=javascript}
var val = forms.customer.controller.getDataProviderValue('contact_name');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getDataSource|class=node}{tr:id=name}{td}h6.getDataSource{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getDataSource{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getDataSource_des|trigger=button|text=}{sub-section}{sub-section:getDataSource_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getDataSource_snc|trigger=button|text=}{sub-section}{sub-section:getDataSource_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:getDataSource_prs|trigger=button|text=}{sub-section}{sub-section:getDataSource_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getDataSource_ret|trigger=button|text=}{sub-section}{sub-section:getDataSource_ret|trigger=none|class=sIndent}[String] -- the datasource{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getDataSource_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataSource_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getDataSource_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataSource_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getDataSource_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataSource_sam|trigger=none}{code:language=javascript}
var dataSource = forms.customer.controller.getDataSource();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getDesignMode|class=node}{tr:id=name}{td}h6.getDesignMode{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}getDesignMode{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getDesignMode_des|trigger=button|text=}{sub-section}{sub-section:getDesignMode_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getDesignMode_snc|trigger=button|text=}{sub-section}{sub-section:getDesignMode_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:getDesignMode_prs|trigger=button|text=}{sub-section}{sub-section:getDesignMode_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getDesignMode_ret|trigger=button|text=}{sub-section}{sub-section:getDesignMode_ret|trigger=none|class=sIndent}[Boolean] -- the design mode state (true/fase){sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getDesignMode_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDesignMode_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getDesignMode_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDesignMode_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getDesignMode_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDesignMode_sam|trigger=none}{code:language=javascript}
var success = forms.customer.controller.getDesignMode();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getDesignTimeProperty|class=node}{tr:id=name}{td}h6.getDesignTimeProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Object]{span}{span:id=iets|style=float: left; font-weight: bold;}getDesignTimeProperty{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getDesignTimeProperty_des|trigger=button|text=}{sub-section}{sub-section:getDesignTimeProperty_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getDesignTimeProperty_snc|trigger=button|text=}{sub-section}{sub-section:getDesignTimeProperty_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:getDesignTimeProperty_prs|trigger=button|text=}{sub-section}{sub-section:getDesignTimeProperty_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getDesignTimeProperty_ret|trigger=button|text=}{sub-section}{sub-section:getDesignTimeProperty_ret|trigger=none|class=sIndent}[Object]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getDesignTimeProperty_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDesignTimeProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getDesignTimeProperty_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDesignTimeProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getDesignTimeProperty_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDesignTimeProperty_sam|trigger=none}{code:language=javascript}
var prop = forms.orders.controller.getDesignTimeProperty('myprop')
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getFormContext|class=node}{tr:id=name}{td}h6.getFormContext{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSDataSet]{span}{span:id=iets|style=float: left; font-weight: bold;}getFormContext{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getFormContext_des|trigger=button|text=}{sub-section}{sub-section:getFormContext_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getFormContext_snc|trigger=button|text=}{sub-section}{sub-section:getFormContext_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:getFormContext_prs|trigger=button|text=}{sub-section}{sub-section:getFormContext_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getFormContext_ret|trigger=button|text=}{sub-section}{sub-section:getFormContext_ret|trigger=none|class=sIndent}[JSDataSet] -- the dataset with form context{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getFormContext_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getFormContext_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getFormContext_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getFormContext_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getFormContext_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getFormContext_sam|trigger=none}{code:language=javascript}
//dataset columns: [containername(1),formname(2),tabpanel or beanname(3),tabname(4),tabindex(5),tabindex1based(6)]
//dataset rows: mainform(1) -> parent(2)  -> current form(3) (when 3 forms deep)
/** @type {JSDataSet} */
var dataset = forms.customer.controller.getFormContext();
if (dataset.getMaxRowIndex() > 1) 
{
	// form is in a tabpanel
	var parentFormName = dataset.getValue(1,2)
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getFormWidth|class=node}{tr:id=name}{td}h6.getFormWidth{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getFormWidth{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getFormWidth_des|trigger=button|text=}{sub-section}{sub-section:getFormWidth_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getFormWidth_snc|trigger=button|text=}{sub-section}{sub-section:getFormWidth_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:getFormWidth_prs|trigger=button|text=}{sub-section}{sub-section:getFormWidth_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getFormWidth_ret|trigger=button|text=}{sub-section}{sub-section:getFormWidth_ret|trigger=none|class=sIndent}[Number] -- the width in pixels{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getFormWidth_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getFormWidth_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getFormWidth_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getFormWidth_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getFormWidth_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getFormWidth_sam|trigger=none}{code:language=javascript}
var width = forms.customer.controller.getFormWidth();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getMaxRecordIndex|class=node}{tr:id=name}{td}h6.getMaxRecordIndex{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getMaxRecordIndex{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getMaxRecordIndex_des|trigger=button|text=}{sub-section}{sub-section:getMaxRecordIndex_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getMaxRecordIndex_snc|trigger=button|text=}{sub-section}{sub-section:getMaxRecordIndex_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:getMaxRecordIndex_prs|trigger=button|text=}{sub-section}{sub-section:getMaxRecordIndex_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getMaxRecordIndex_ret|trigger=button|text=}{sub-section}{sub-section:getMaxRecordIndex_ret|trigger=none|class=sIndent}[Number] -- the max record index{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getMaxRecordIndex_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getMaxRecordIndex_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getMaxRecordIndex_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getMaxRecordIndex_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getMaxRecordIndex_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getMaxRecordIndex_sam|trigger=none}{code:language=javascript}
for ( var i = 1 ; i <= forms.customer.controller.getMaxRecordIndex() ; i++ )
{
	forms.customer.controller.setSelectedIndex(i);
	//do some action per record
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getName|class=node}{tr:id=name}{td}h6.getName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getName{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getName_des|trigger=button|text=}{sub-section}{sub-section:getName_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getName_snc|trigger=button|text=}{sub-section}{sub-section:getName_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:getName_prs|trigger=button|text=}{sub-section}{sub-section:getName_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getName_ret|trigger=button|text=}{sub-section}{sub-section:getName_ret|trigger=none|class=sIndent}[String] -- the name{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getName_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getName_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getName_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getName_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getName_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getName_sam|trigger=none}{code:language=javascript}
var formName = forms.customer.controller.getName();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getPartHeight|class=node}{tr:id=name}{td}h6.getPartHeight{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getPartHeight{span}{span:id=iets|style=float: left;}\(partType){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getPartHeight_des|trigger=button|text=}{sub-section}{sub-section:getPartHeight_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getPartHeight_snc|trigger=button|text=}{sub-section}{sub-section:getPartHeight_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getPartHeight_prs|trigger=button|text=}{sub-section}{sub-section:getPartHeight_prs|trigger=none|class=sIndent}\{[Number]} partType -- The type of the part whose height will be returned.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getPartHeight_ret|trigger=button|text=}{sub-section}{sub-section:getPartHeight_ret|trigger=none|class=sIndent}[Number] -- the part height in pixels{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getPartHeight_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getPartHeight_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getPartHeight_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getPartHeight_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getPartHeight_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getPartHeight_sam|trigger=none}{code:language=javascript}
var height = forms.customer.controller.getPartHeight(JSPart.BODY);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getPartYOffset|class=node}{tr:id=name}{td}h6.getPartYOffset{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getPartYOffset{span}{span:id=iets|style=float: left;}\(partType){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getPartYOffset_des|trigger=button|text=}{sub-section}{sub-section:getPartYOffset_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getPartYOffset_snc|trigger=button|text=}{sub-section}{sub-section:getPartYOffset_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getPartYOffset_prs|trigger=button|text=}{sub-section}{sub-section:getPartYOffset_prs|trigger=none|class=sIndent}\{[Number]} partType -- The type of the part whose Y offset will be returned.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getPartYOffset_ret|trigger=button|text=}{sub-section}{sub-section:getPartYOffset_ret|trigger=none|class=sIndent}[Number] -- A number holding the Y offset of the specified form part.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getPartYOffset_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getPartYOffset_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getPartYOffset_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getPartYOffset_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getPartYOffset_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getPartYOffset_sam|trigger=none}{code:language=javascript}
var offset = forms.customer.controller.getPartYOffset(JSPart.BODY);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getSelectedIndex|class=node}{tr:id=name}{td}h6.getSelectedIndex{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getSelectedIndex{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getSelectedIndex_des|trigger=button|text=}{sub-section}{sub-section:getSelectedIndex_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getSelectedIndex_snc|trigger=button|text=}{sub-section}{sub-section:getSelectedIndex_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:getSelectedIndex_prs|trigger=button|text=}{sub-section}{sub-section:getSelectedIndex_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getSelectedIndex_ret|trigger=button|text=}{sub-section}{sub-section:getSelectedIndex_ret|trigger=none|class=sIndent}[Number] -- the index{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getSelectedIndex_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getSelectedIndex_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getSelectedIndex_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getSelectedIndex_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getSelectedIndex_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getSelectedIndex_sam|trigger=none}{code:language=javascript}
//gets the current record index in the current foundset
var current = forms.customer.controller.getSelectedIndex();
//sets the next record in the foundset, will be reflected in UI
forms.customer.controller.setSelectedIndex(current+1);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getTabSequence|class=node}{tr:id=name}{td}h6.getTabSequence{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getTabSequence{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getTabSequence_des|trigger=button|text=}{sub-section}{sub-section:getTabSequence_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getTabSequence_snc|trigger=button|text=}{sub-section}{sub-section:getTabSequence_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:getTabSequence_prs|trigger=button|text=}{sub-section}{sub-section:getTabSequence_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getTabSequence_ret|trigger=button|text=}{sub-section}{sub-section:getTabSequence_ret|trigger=none|class=sIndent}[String]\[] -- array of names{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getTabSequence_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getTabSequence_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getTabSequence_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getTabSequence_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getTabSequence_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getTabSequence_sam|trigger=none}{code:language=javascript}
var tabseq = forms.customer.controller.getTabSequence();
if (tabseq.length > 1) {
	// If there is more than one field in the tab sequence, 
	// focus the second one and skip over readonly fields.
	forms.customer.controller.focusField(tabseq[1], true);
}
else {
	// If there is at most one field in the tab sequence, then focus
	// whatever field is first, and don't bother to skip over readonly fields.
	forms.customer.controller.focusField(null, false);
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getWindow|class=node}{tr:id=name}{td}h6.getWindow{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSWindow]{span}{span:id=iets|style=float: left; font-weight: bold;}getWindow{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getWindow_des|trigger=button|text=}{sub-section}{sub-section:getWindow_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getWindow_snc|trigger=button|text=}{sub-section}{sub-section:getWindow_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:getWindow_prs|trigger=button|text=}{sub-section}{sub-section:getWindow_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getWindow_ret|trigger=button|text=}{sub-section}{sub-section:getWindow_ret|trigger=none|class=sIndent}[JSWindow] -- the JSWindow that the form is shown in, or null if the form is not currently showing in a window.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getWindow_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWindow_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getWindow_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWindow_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getWindow_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWindow_sam|trigger=none}{code:language=javascript}
var currentWindow = controller.getWindow();
if (currentWindow != null) {
	currentWindow.title = 'We have a new title';
} else {
	currentWindow = application.createWindow("Window Name", JSWindow.WINDOW, null);
	currentWindow(650, 700, 450, 350);
	currentWindow = "Window Title";
	controller.show(currentWindow);
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=invertRecords|class=node}{tr:id=name}{td}h6.invertRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}invertRecords{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:invertRecords_des|trigger=button|text=}{sub-section}{sub-section:invertRecords_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:invertRecords_snc|trigger=button|text=}{sub-section}{sub-section:invertRecords_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:invertRecords_prs|trigger=button|text=}{sub-section}{sub-section:invertRecords_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:invertRecords_ret|trigger=button|text=}{sub-section}{sub-section:invertRecords_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:invertRecords_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:invertRecords_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:invertRecords_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:invertRecords_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:invertRecords_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:invertRecords_sam|trigger=none}{code:language=javascript}
forms.customer.controller.invertRecords();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=loadAllRecords|class=node}{tr:id=name}{td}h6.loadAllRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}loadAllRecords{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:loadAllRecords_des|trigger=button|text=}{sub-section}{sub-section:loadAllRecords_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:loadAllRecords_snc|trigger=button|text=}{sub-section}{sub-section:loadAllRecords_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:loadAllRecords_prs|trigger=button|text=}{sub-section}{sub-section:loadAllRecords_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:loadAllRecords_ret|trigger=button|text=}{sub-section}{sub-section:loadAllRecords_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:loadAllRecords_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadAllRecords_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:loadAllRecords_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadAllRecords_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:loadAllRecords_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadAllRecords_sam|trigger=none}{code:language=javascript}
forms.customer.controller.loadAllRecords();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=loadOmittedRecords|class=node}{tr:id=name}{td}h6.loadOmittedRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}loadOmittedRecords{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:loadOmittedRecords_des|trigger=button|text=}{sub-section}{sub-section:loadOmittedRecords_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:loadOmittedRecords_snc|trigger=button|text=}{sub-section}{sub-section:loadOmittedRecords_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:loadOmittedRecords_prs|trigger=button|text=}{sub-section}{sub-section:loadOmittedRecords_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:loadOmittedRecords_ret|trigger=button|text=}{sub-section}{sub-section:loadOmittedRecords_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:loadOmittedRecords_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadOmittedRecords_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:loadOmittedRecords_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadOmittedRecords_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:loadOmittedRecords_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadOmittedRecords_sam|trigger=none}{code:language=javascript}
forms.customer.controller.loadOmittedRecords();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=loadRecords|class=node}{tr:id=name}{td}h6.loadRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}loadRecords{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:loadRecords_des|trigger=button|text=}{sub-section}{sub-section:loadRecords_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:loadRecords_snc|trigger=button|text=}{sub-section}{sub-section:loadRecords_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:loadRecords_prs|trigger=button|text=}{sub-section}{sub-section:loadRecords_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:loadRecords_ret|trigger=button|text=}{sub-section}{sub-section:loadRecords_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:loadRecords_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:loadRecords_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:loadRecords_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords_sam|trigger=none}{code:language=javascript}
//to reload all last (related) records again, if for example after a search in related tabpanel
forms.customer.controller.loadRecords();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=loadRecords-JSFoundSet|class=node}{tr:id=name}{td}h6.loadRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}loadRecords{span}{span:id=iets|style=float: left;}\(foundset){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:loadRecords-JSFoundSet_des|trigger=button|text=}{sub-section}{sub-section:loadRecords-JSFoundSet_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:loadRecords-JSFoundSet_snc|trigger=button|text=}{sub-section}{sub-section:loadRecords-JSFoundSet_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:loadRecords-JSFoundSet_prs|trigger=button|text=}{sub-section}{sub-section:loadRecords-JSFoundSet_prs|trigger=none|class=sIndent}\{[JSFoundSet]} foundset -- to load
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:loadRecords-JSFoundSet_ret|trigger=button|text=}{sub-section}{sub-section:loadRecords-JSFoundSet_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:loadRecords-JSFoundSet_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-JSFoundSet_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:loadRecords-JSFoundSet_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-JSFoundSet_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:loadRecords-JSFoundSet_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-JSFoundSet_sam|trigger=none}{code:language=javascript}
//to load a (related)foundset into the form.
//the form will no longer share the default foundset with forms of the same datasource, use loadAllRecords to restore the default foundset 
forms.customer.controller.loadRecords(order_to_orderdetails);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=loadRecords-JSDataSet|class=node}{tr:id=name}{td}h6.loadRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}loadRecords{span}{span:id=iets|style=float: left;}\(pkdataset){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:loadRecords-JSDataSet_des|trigger=button|text=}{sub-section}{sub-section:loadRecords-JSDataSet_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:loadRecords-JSDataSet_snc|trigger=button|text=}{sub-section}{sub-section:loadRecords-JSDataSet_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:loadRecords-JSDataSet_prs|trigger=button|text=}{sub-section}{sub-section:loadRecords-JSDataSet_prs|trigger=none|class=sIndent}\{[JSDataSet]} pkdataset -- to load
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:loadRecords-JSDataSet_ret|trigger=button|text=}{sub-section}{sub-section:loadRecords-JSDataSet_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:loadRecords-JSDataSet_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-JSDataSet_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:loadRecords-JSDataSet_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-JSDataSet_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:loadRecords-JSDataSet_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-JSDataSet_sam|trigger=none}{code:language=javascript}
//to load a primary key dataset, will remove related sort
//var dataset = databaseManager.getDataSetByQuery(...);
// dataset must match the table primary key columns (alphabetically ordered)
forms.customer.controller.loadRecords(dataset);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=loadRecords-UUID|class=node}{tr:id=name}{td}h6.loadRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}loadRecords{span}{span:id=iets|style=float: left;}\(UUIDpk){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:loadRecords-UUID_des|trigger=button|text=}{sub-section}{sub-section:loadRecords-UUID_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:loadRecords-UUID_snc|trigger=button|text=}{sub-section}{sub-section:loadRecords-UUID_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:loadRecords-UUID_prs|trigger=button|text=}{sub-section}{sub-section:loadRecords-UUID_prs|trigger=none|class=sIndent}\{[UUID]} UUIDpk -- to load
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:loadRecords-UUID_ret|trigger=button|text=}{sub-section}{sub-section:loadRecords-UUID_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:loadRecords-UUID_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-UUID_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:loadRecords-UUID_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-UUID_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:loadRecords-UUID_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-UUID_sam|trigger=none}{code:language=javascript}
forms.customer.controller.loadRecords(application.getUUID('6b5e2f5d-047e-45b3-80ee-3a32267b1f20'));
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=loadRecords-Number|class=node}{tr:id=name}{td}h6.loadRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}loadRecords{span}{span:id=iets|style=float: left;}\(singlenNmber_pk){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:loadRecords-Number_des|trigger=button|text=}{sub-section}{sub-section:loadRecords-Number_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:loadRecords-Number_snc|trigger=button|text=}{sub-section}{sub-section:loadRecords-Number_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:loadRecords-Number_prs|trigger=button|text=}{sub-section}{sub-section:loadRecords-Number_prs|trigger=none|class=sIndent}\{[Number]} singlenNmber_pk -- to load
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:loadRecords-Number_ret|trigger=button|text=}{sub-section}{sub-section:loadRecords-Number_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:loadRecords-Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:loadRecords-Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:loadRecords-Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-Number_sam|trigger=none}{code:language=javascript}
forms.customer.controller.loadRecords(123);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=loadRecords-String|class=node}{tr:id=name}{td}h6.loadRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}loadRecords{span}{span:id=iets|style=float: left;}\(queryString){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:loadRecords-String_des|trigger=button|text=}{sub-section}{sub-section:loadRecords-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:loadRecords-String_snc|trigger=button|text=}{sub-section}{sub-section:loadRecords-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:loadRecords-String_prs|trigger=button|text=}{sub-section}{sub-section:loadRecords-String_prs|trigger=none|class=sIndent}\{[String]} queryString -- to load
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:loadRecords-String_ret|trigger=button|text=}{sub-section}{sub-section:loadRecords-String_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:loadRecords-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:loadRecords-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:loadRecords-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-String_sam|trigger=none}{code:language=javascript}
forms.customer.controller.loadRecords(sqlstring);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=loadRecords-String_ObjectArray|class=node}{tr:id=name}{td}h6.loadRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}loadRecords{span}{span:id=iets|style=float: left;}\(queryString, queryArgumentsArray){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:loadRecords-String_ObjectArray_des|trigger=button|text=}{sub-section}{sub-section:loadRecords-String_ObjectArray_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:loadRecords-String_ObjectArray_snc|trigger=button|text=}{sub-section}{sub-section:loadRecords-String_ObjectArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:loadRecords-String_ObjectArray_prs|trigger=button|text=}{sub-section}{sub-section:loadRecords-String_ObjectArray_prs|trigger=none|class=sIndent}\{[String]} queryString -- to load
\{[Object]\[]} queryArgumentsArray -- the arguments to replace the questions marks in the queryString
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:loadRecords-String_ObjectArray_ret|trigger=button|text=}{sub-section}{sub-section:loadRecords-String_ObjectArray_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:loadRecords-String_ObjectArray_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-String_ObjectArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:loadRecords-String_ObjectArray_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-String_ObjectArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:loadRecords-String_ObjectArray_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:loadRecords-String_ObjectArray_sam|trigger=none}{code:language=javascript}
forms.customer.controller.loadRecords(sqlstring,parameters);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=newRecord|class=node}{tr:id=name}{td}h6.newRecord{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}newRecord{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:newRecord_des|trigger=button|text=}{sub-section}{sub-section:newRecord_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:newRecord_snc|trigger=button|text=}{sub-section}{sub-section:newRecord_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:newRecord_prs|trigger=button|text=}{sub-section}{sub-section:newRecord_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:newRecord_ret|trigger=button|text=}{sub-section}{sub-section:newRecord_ret|trigger=none|class=sIndent}[Boolean] -- true if succesful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:newRecord_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:newRecord_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:newRecord_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:newRecord_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:newRecord_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:newRecord_sam|trigger=none}{code:language=javascript}
// foreign key data is only filled in for equals (=) relation items 
forms.customer.controller.newRecord();//default adds on top
//forms.customer.controller.newRecord(false); //adds at bottom
//forms.customer.controller.newRecord(2); //adds as second record
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=newRecord-Boolean|class=node}{tr:id=name}{td}h6.newRecord{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}newRecord{span}{span:id=iets|style=float: left;}\(insertOnTop){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:newRecord-Boolean_des|trigger=button|text=}{sub-section}{sub-section:newRecord-Boolean_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:newRecord-Boolean_snc|trigger=button|text=}{sub-section}{sub-section:newRecord-Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:newRecord-Boolean_prs|trigger=button|text=}{sub-section}{sub-section:newRecord-Boolean_prs|trigger=none|class=sIndent}\{[Boolean]} insertOnTop -- true adds the new record as the topmost record
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:newRecord-Boolean_ret|trigger=button|text=}{sub-section}{sub-section:newRecord-Boolean_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:newRecord-Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:newRecord-Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:newRecord-Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:newRecord-Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:newRecord-Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:newRecord-Boolean_sam|trigger=none}{code:language=javascript}
// foreign key data is only filled in for equals (=) relation items 
forms.customer.controller.newRecord();//default adds on top
//forms.customer.controller.newRecord(false); //adds at bottom
//forms.customer.controller.newRecord(2); //adds as second record
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=newRecord-Number|class=node}{tr:id=name}{td}h6.newRecord{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}newRecord{span}{span:id=iets|style=float: left;}\(location){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:newRecord-Number_des|trigger=button|text=}{sub-section}{sub-section:newRecord-Number_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:newRecord-Number_snc|trigger=button|text=}{sub-section}{sub-section:newRecord-Number_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:newRecord-Number_prs|trigger=button|text=}{sub-section}{sub-section:newRecord-Number_prs|trigger=none|class=sIndent}\{[Number]} location -- adds at specified index
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:newRecord-Number_ret|trigger=button|text=}{sub-section}{sub-section:newRecord-Number_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:newRecord-Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:newRecord-Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:newRecord-Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:newRecord-Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:newRecord-Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:newRecord-Number_sam|trigger=none}{code:language=javascript}
// foreign key data is only filled in for equals (=) relation items 
forms.customer.controller.newRecord();//default adds on top
//forms.customer.controller.newRecord(false); //adds at bottom
//forms.customer.controller.newRecord(2); //adds as second record
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=omitRecord|class=node}{tr:id=name}{td}h6.omitRecord{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}omitRecord{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:omitRecord_des|trigger=button|text=}{sub-section}{sub-section:omitRecord_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:omitRecord_snc|trigger=button|text=}{sub-section}{sub-section:omitRecord_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:omitRecord_prs|trigger=button|text=}{sub-section}{sub-section:omitRecord_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:omitRecord_ret|trigger=button|text=}{sub-section}{sub-section:omitRecord_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:omitRecord_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:omitRecord_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:omitRecord_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:omitRecord_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:omitRecord_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:omitRecord_sam|trigger=none}{code:language=javascript}
var success = forms.customer.controller.omitRecord();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=print|class=node}{tr:id=name}{td}h6.print{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}print{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:print_des|trigger=button|text=}{sub-section}{sub-section:print_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:print_snc|trigger=button|text=}{sub-section}{sub-section:print_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:print_prs|trigger=button|text=}{sub-section}{sub-section:print_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:print_ret|trigger=button|text=}{sub-section}{sub-section:print_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:print_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:print_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:print_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:print_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:print_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:print_sam|trigger=none}{code:language=javascript}
//print this form (with foundset records)
forms.customer.controller.print();
//print only current record (no printerSelectDialog) to pdf plugin printer
//forms.customer.controller.print(true,false,plugins.pdf_output.getPDFPrinter('c:/temp/out.pdf'));
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=print-Boolean|class=node}{tr:id=name}{td}h6.print{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}print{span}{span:id=iets|style=float: left;}\(printCurrentRecordOnly){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:print-Boolean_des|trigger=button|text=}{sub-section}{sub-section:print-Boolean_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:print-Boolean_snc|trigger=button|text=}{sub-section}{sub-section:print-Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:print-Boolean_prs|trigger=button|text=}{sub-section}{sub-section:print-Boolean_prs|trigger=none|class=sIndent}\{[Boolean]} printCurrentRecordOnly -- to print the current record only
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:print-Boolean_ret|trigger=button|text=}{sub-section}{sub-section:print-Boolean_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:print-Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:print-Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:print-Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:print-Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:print-Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:print-Boolean_sam|trigger=none}{code:language=javascript}
//print this form (with foundset records)
forms.customer.controller.print();
//print only current record (no printerSelectDialog) to pdf plugin printer
//forms.customer.controller.print(true,false,plugins.pdf_output.getPDFPrinter('c:/temp/out.pdf'));
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=print-Boolean_Boolean|class=node}{tr:id=name}{td}h6.print{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}print{span}{span:id=iets|style=float: left;}\(printCurrentRecordOnly, showPrinterSelectDialog){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:print-Boolean_Boolean_des|trigger=button|text=}{sub-section}{sub-section:print-Boolean_Boolean_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:print-Boolean_Boolean_snc|trigger=button|text=}{sub-section}{sub-section:print-Boolean_Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:print-Boolean_Boolean_prs|trigger=button|text=}{sub-section}{sub-section:print-Boolean_Boolean_prs|trigger=none|class=sIndent}\{[Boolean]} printCurrentRecordOnly -- to print the current record only
\{[Boolean]} showPrinterSelectDialog -- to show the printer select dialog (default printer is normally used)
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:print-Boolean_Boolean_ret|trigger=button|text=}{sub-section}{sub-section:print-Boolean_Boolean_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:print-Boolean_Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:print-Boolean_Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:print-Boolean_Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:print-Boolean_Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:print-Boolean_Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:print-Boolean_Boolean_sam|trigger=none}{code:language=javascript}
//print this form (with foundset records)
forms.customer.controller.print();
//print only current record (no printerSelectDialog) to pdf plugin printer
//forms.customer.controller.print(true,false,plugins.pdf_output.getPDFPrinter('c:/temp/out.pdf'));
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=print-Boolean_Boolean_PrinterJob|class=node}{tr:id=name}{td}h6.print{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}print{span}{span:id=iets|style=float: left;}\(printCurrentRecordOnly, showPrinterSelectDialog, printerJob){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:print-Boolean_Boolean_PrinterJob_des|trigger=button|text=}{sub-section}{sub-section:print-Boolean_Boolean_PrinterJob_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:print-Boolean_Boolean_PrinterJob_snc|trigger=button|text=}{sub-section}{sub-section:print-Boolean_Boolean_PrinterJob_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:print-Boolean_Boolean_PrinterJob_prs|trigger=button|text=}{sub-section}{sub-section:print-Boolean_Boolean_PrinterJob_prs|trigger=none|class=sIndent}\{[Boolean]} printCurrentRecordOnly -- to print the current record only
\{[Boolean]} showPrinterSelectDialog -- to show the printer select dialog (default printer is normally used)
\{[PrinterJob]} printerJob -- print to plugin printer job, see pdf printer plugin for example
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:print-Boolean_Boolean_PrinterJob_ret|trigger=button|text=}{sub-section}{sub-section:print-Boolean_Boolean_PrinterJob_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:print-Boolean_Boolean_PrinterJob_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:print-Boolean_Boolean_PrinterJob_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:print-Boolean_Boolean_PrinterJob_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:print-Boolean_Boolean_PrinterJob_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:print-Boolean_Boolean_PrinterJob_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:print-Boolean_Boolean_PrinterJob_sam|trigger=none}{code:language=javascript}
//print this form (with foundset records)
forms.customer.controller.print();
//print only current record (no printerSelectDialog) to pdf plugin printer
//forms.customer.controller.print(true,false,plugins.pdf_output.getPDFPrinter('c:/temp/out.pdf'));
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=printXML|class=node}{tr:id=name}{td}h6.printXML{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}printXML{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:printXML_des|trigger=button|text=}{sub-section}{sub-section:printXML_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:printXML_snc|trigger=button|text=}{sub-section}{sub-section:printXML_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:printXML_prs|trigger=button|text=}{sub-section}{sub-section:printXML_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:printXML_ret|trigger=button|text=}{sub-section}{sub-section:printXML_ret|trigger=none|class=sIndent}[String] -- the XML{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:printXML_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:printXML_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:printXML_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:printXML_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:printXML_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:printXML_sam|trigger=none}{code:language=javascript}
//TIP: see also plugins.file.writeXMLFile(...)
var xml = forms.customer.controller.printXML();
//print only current record 
//var xml = forms.customer.controller.printXML(true);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=printXML-Boolean|class=node}{tr:id=name}{td}h6.printXML{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}printXML{span}{span:id=iets|style=float: left;}\(printCurrentRecordOnly){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:printXML-Boolean_des|trigger=button|text=}{sub-section}{sub-section:printXML-Boolean_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:printXML-Boolean_snc|trigger=button|text=}{sub-section}{sub-section:printXML-Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:printXML-Boolean_prs|trigger=button|text=}{sub-section}{sub-section:printXML-Boolean_prs|trigger=none|class=sIndent}\{[Boolean]} printCurrentRecordOnly -- to print the current record only
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:printXML-Boolean_ret|trigger=button|text=}{sub-section}{sub-section:printXML-Boolean_ret|trigger=none|class=sIndent}[String] -- the XML{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:printXML-Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:printXML-Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:printXML-Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:printXML-Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:printXML-Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:printXML-Boolean_sam|trigger=none}{code:language=javascript}
//TIP: see also plugins.file.writeXMLFile(...)
var xml = forms.customer.controller.printXML();
//print only current record 
//var xml = forms.customer.controller.printXML(true);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=recreateUI|class=node}{tr:id=name}{td}h6.recreateUI{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}recreateUI{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:recreateUI_des|trigger=button|text=}{sub-section}{sub-section:recreateUI_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:recreateUI_snc|trigger=button|text=}{sub-section}{sub-section:recreateUI_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:recreateUI_prs|trigger=button|text=}{sub-section}{sub-section:recreateUI_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:recreateUI_ret|trigger=button|text=}{sub-section}{sub-section:recreateUI_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:recreateUI_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:recreateUI_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:recreateUI_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:recreateUI_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:recreateUI_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:recreateUI_sam|trigger=none}{code:language=javascript}
// get the solution model JSForm 
var form = solutionModel.getForm("myForm");
// get the JSField of the form 
var field = form.getField("myField");
// alter the field
field.x = field.x + 10;
// recreate the runtime forms ui to reflect the changes.
forms.customer.controller.recreateUI();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=relookup|class=node}{tr:id=name}{td}h6.relookup{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}relookup{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:relookup_des|trigger=button|text=}{sub-section}{sub-section:relookup_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:relookup_snc|trigger=button|text=}{sub-section}{sub-section:relookup_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:relookup_prs|trigger=button|text=}{sub-section}{sub-section:relookup_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:relookup_ret|trigger=button|text=}{sub-section}{sub-section:relookup_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:relookup_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:relookup_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:relookup_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:relookup_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:relookup_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:relookup_sam|trigger=none}{code:language=javascript}
forms.customer.controller.relookup();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=search|class=node}{tr:id=name}{td}h6.search{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}search{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:search_des|trigger=button|text=}{sub-section}{sub-section:search_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:search_snc|trigger=button|text=}{sub-section}{sub-section:search_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:search_prs|trigger=button|text=}{sub-section}{sub-section:search_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:search_ret|trigger=button|text=}{sub-section}{sub-section:search_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:search_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:search_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:search_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:search_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:search_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:search_sam|trigger=none}{code:language=javascript}
var recordCount = forms.customer.controller.search();
//var recordCount = forms.customer.controller.search(false,false); //to extend foundset
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=search-Boolean|class=node}{tr:id=name}{td}h6.search{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}search{span}{span:id=iets|style=float: left;}\(clearLastResults){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:search-Boolean_des|trigger=button|text=}{sub-section}{sub-section:search-Boolean_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:search-Boolean_snc|trigger=button|text=}{sub-section}{sub-section:search-Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:search-Boolean_prs|trigger=button|text=}{sub-section}{sub-section:search-Boolean_prs|trigger=none|class=sIndent}\{[Boolean]} clearLastResults -- boolean, clear previous search, default true
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:search-Boolean_ret|trigger=button|text=}{sub-section}{sub-section:search-Boolean_ret|trigger=none|class=sIndent}[Number] -- the recordCount{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:search-Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:search-Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:search-Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:search-Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:search-Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:search-Boolean_sam|trigger=none}{code:language=javascript}
var recordCount = forms.customer.foundset.search();
//var recordCount = forms.customer.foundset.search(false,false); //to extend foundset
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=search-Boolean_Boolean|class=node}{tr:id=name}{td}h6.search{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}search{span}{span:id=iets|style=float: left;}\(clearLastResults, reduceSearch){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:search-Boolean_Boolean_des|trigger=button|text=}{sub-section}{sub-section:search-Boolean_Boolean_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:search-Boolean_Boolean_snc|trigger=button|text=}{sub-section}{sub-section:search-Boolean_Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:search-Boolean_Boolean_prs|trigger=button|text=}{sub-section}{sub-section:search-Boolean_Boolean_prs|trigger=none|class=sIndent}\{[Boolean]} clearLastResults -- boolean, clear previous search, default true
\{[Boolean]} reduceSearch -- boolean, reduce (true) or extend (false) previous search results, default true
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:search-Boolean_Boolean_ret|trigger=button|text=}{sub-section}{sub-section:search-Boolean_Boolean_ret|trigger=none|class=sIndent}[Number] -- the recordCount{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:search-Boolean_Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:search-Boolean_Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:search-Boolean_Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:search-Boolean_Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:search-Boolean_Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:search-Boolean_Boolean_sam|trigger=none}{code:language=javascript}
var recordCount = forms.customer.foundset.search();
//var recordCount = forms.customer.foundset.search(false,false); //to extend foundset
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setDataProviderValue|class=node}{tr:id=name}{td}h6.setDataProviderValue{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setDataProviderValue{span}{span:id=iets|style=float: left;}\(dataprovider, value){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setDataProviderValue_des|trigger=button|text=}{sub-section}{sub-section:setDataProviderValue_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setDataProviderValue_snc|trigger=button|text=}{sub-section}{sub-section:setDataProviderValue_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setDataProviderValue_prs|trigger=button|text=}{sub-section}{sub-section:setDataProviderValue_prs|trigger=none|class=sIndent}\{[String]} dataprovider -- the dataprovider name to set the value for
\{[Object]} value -- the value to set in the dataprovider
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setDataProviderValue_ret|trigger=button|text=}{sub-section}{sub-section:setDataProviderValue_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setDataProviderValue_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDataProviderValue_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setDataProviderValue_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDataProviderValue_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setDataProviderValue_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDataProviderValue_sam|trigger=none}{code:language=javascript}
forms.customer.controller.setDataProviderValue('contact_name','mycompany');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setDesignMode-Boolean|class=node}{tr:id=name}{td}h6.setDesignMode{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setDesignMode{span}{span:id=iets|style=float: left;}\(designMode){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setDesignMode-Boolean_des|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Boolean_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setDesignMode-Boolean_snc|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setDesignMode-Boolean_prs|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Boolean_prs|trigger=none|class=sIndent}\{[Boolean]} designMode -- sets form in design mode if true, false ends design mode.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setDesignMode-Boolean_ret|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Boolean_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setDesignMode-Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setDesignMode-Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setDesignMode-Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Boolean_sam|trigger=none}{code:language=javascript}
var form = forms["selectedFormName"];
if (!form.controller.getDesignMode())
{
	// Set the current form in designmode with no callbacks
	form.controller.setDesignMode(true);
	// Set the current form in designmode with callbacks
	// where onDrag, onDrop, onSelect, onResize are names of form methods (not from "selectedFormName" form)
	// form.controller.setDesignMode(onDrag, onDrop, onSelect, onResize);
}
//Set the current form out of designmode (to normal browse)
//form.controller.setDesignMode(false);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setDesignMode-Function|class=node}{tr:id=name}{td}h6.setDesignMode{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setDesignMode{span}{span:id=iets|style=float: left;}\(ondrag){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setDesignMode-Function_des|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setDesignMode-Function_snc|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setDesignMode-Function_prs|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_prs|trigger=none|class=sIndent}\{[Function]} ondrag -- onDrag method reference
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setDesignMode-Function_ret|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setDesignMode-Function_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setDesignMode-Function_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setDesignMode-Function_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_sam|trigger=none}{code:language=javascript}
var form = forms["selectedFormName"];
if (!form.controller.getDesignMode())
{
	// Set the current form in designmode with no callbacks
	form.controller.setDesignMode(true);
	// Set the current form in designmode with callbacks
	// where onDrag, onDrop, onSelect, onResize are names of form methods (not from "selectedFormName" form)
	// form.controller.setDesignMode(onDrag, onDrop, onSelect, onResize);
}
//Set the current form out of designmode (to normal browse)
//form.controller.setDesignMode(false);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setDesignMode-Function_Function|class=node}{tr:id=name}{td}h6.setDesignMode{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setDesignMode{span}{span:id=iets|style=float: left;}\(ondrag, ondrop){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setDesignMode-Function_Function_des|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setDesignMode-Function_Function_snc|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setDesignMode-Function_Function_prs|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_prs|trigger=none|class=sIndent}\{[Function]} ondrag -- onDrag method reference
\{[Function]} ondrop -- onDrop method reference
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setDesignMode-Function_Function_ret|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setDesignMode-Function_Function_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setDesignMode-Function_Function_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setDesignMode-Function_Function_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_sam|trigger=none}{code:language=javascript}
var form = forms["selectedFormName"];
if (!form.controller.getDesignMode())
{
	// Set the current form in designmode with no callbacks
	form.controller.setDesignMode(true);
	// Set the current form in designmode with callbacks
	// where onDrag, onDrop, onSelect, onResize are names of form methods (not from "selectedFormName" form)
	// form.controller.setDesignMode(onDrag, onDrop, onSelect, onResize);
}
//Set the current form out of designmode (to normal browse)
//form.controller.setDesignMode(false);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setDesignMode-Function_Function_Function|class=node}{tr:id=name}{td}h6.setDesignMode{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setDesignMode{span}{span:id=iets|style=float: left;}\(ondrag, ondrop, onselect){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setDesignMode-Function_Function_Function_des|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setDesignMode-Function_Function_Function_snc|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setDesignMode-Function_Function_Function_prs|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_prs|trigger=none|class=sIndent}\{[Function]} ondrag -- onDrag method reference
\{[Function]} ondrop -- onDrop method reference
\{[Function]} onselect -- onSelect method reference
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setDesignMode-Function_Function_Function_ret|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setDesignMode-Function_Function_Function_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_Function_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setDesignMode-Function_Function_Function_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_Function_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setDesignMode-Function_Function_Function_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_Function_sam|trigger=none}{code:language=javascript}
var form = forms["selectedFormName"];
if (!form.controller.getDesignMode())
{
	// Set the current form in designmode with no callbacks
	form.controller.setDesignMode(true);
	// Set the current form in designmode with callbacks
	// where onDrag, onDrop, onSelect, onResize are names of form methods (not from "selectedFormName" form)
	// form.controller.setDesignMode(onDrag, onDrop, onSelect, onResize);
}
//Set the current form out of designmode (to normal browse)
//form.controller.setDesignMode(false);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setDesignMode-Function_Function_Function_Function|class=node}{tr:id=name}{td}h6.setDesignMode{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setDesignMode{span}{span:id=iets|style=float: left;}\(ondrag, ondrop, onselect, onresize){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setDesignMode-Function_Function_Function_Function_des|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_Function_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setDesignMode-Function_Function_Function_Function_snc|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_Function_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setDesignMode-Function_Function_Function_Function_prs|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_Function_prs|trigger=none|class=sIndent}\{[Function]} ondrag -- onDrag method reference
\{[Function]} ondrop -- onDrop method reference
\{[Function]} onselect -- onSelect method reference
\{[Function]} onresize -- onResize method reference
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setDesignMode-Function_Function_Function_Function_ret|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_Function_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setDesignMode-Function_Function_Function_Function_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_Function_Function_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setDesignMode-Function_Function_Function_Function_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_Function_Function_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setDesignMode-Function_Function_Function_Function_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_Function_Function_sam|trigger=none}{code:language=javascript}
var form = forms["selectedFormName"];
if (!form.controller.getDesignMode())
{
	// Set the current form in designmode with no callbacks
	form.controller.setDesignMode(true);
	// Set the current form in designmode with callbacks
	// where onDrag, onDrop, onSelect, onResize are names of form methods (not from "selectedFormName" form)
	// form.controller.setDesignMode(onDrag, onDrop, onSelect, onResize);
}
//Set the current form out of designmode (to normal browse)
//form.controller.setDesignMode(false);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setDesignMode-Function_Function_Function_Function_Function|class=node}{tr:id=name}{td}h6.setDesignMode{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setDesignMode{span}{span:id=iets|style=float: left;}\(ondrag, ondrop, onselect, onresize, ondblclick){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setDesignMode-Function_Function_Function_Function_Function_des|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_Function_Function_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setDesignMode-Function_Function_Function_Function_Function_snc|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_Function_Function_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setDesignMode-Function_Function_Function_Function_Function_prs|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_Function_Function_prs|trigger=none|class=sIndent}\{[Function]} ondrag -- onDrag method reference
\{[Function]} ondrop -- onDrop method reference
\{[Function]} onselect -- onSelect method reference
\{[Function]} onresize -- onResize method reference
\{[Function]} ondblclick -- onDblClick method reference
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setDesignMode-Function_Function_Function_Function_Function_ret|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_Function_Function_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setDesignMode-Function_Function_Function_Function_Function_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_Function_Function_Function_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setDesignMode-Function_Function_Function_Function_Function_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_Function_Function_Function_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setDesignMode-Function_Function_Function_Function_Function_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_Function_Function_Function_sam|trigger=none}{code:language=javascript}
var form = forms["selectedFormName"];
if (!form.controller.getDesignMode())
{
	// Set the current form in designmode with no callbacks
	form.controller.setDesignMode(true);
	// Set the current form in designmode with callbacks
	// where onDrag, onDrop, onSelect, onResize are names of form methods (not from "selectedFormName" form)
	// form.controller.setDesignMode(onDrag, onDrop, onSelect, onResize);
}
//Set the current form out of designmode (to normal browse)
//form.controller.setDesignMode(false);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setDesignMode-Function_Function_Function_Function_Function_Function|class=node}{tr:id=name}{td}h6.setDesignMode{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setDesignMode{span}{span:id=iets|style=float: left;}\(ondrag, ondrop, onselect, onresize, ondblclick, onrightclick){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_des|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_snc|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_prs|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_prs|trigger=none|class=sIndent}\{[Function]} ondrag -- onDrag method reference
\{[Function]} ondrop -- onDrop method reference
\{[Function]} onselect -- onSelect method reference
\{[Function]} onresize -- onResize method reference
\{[Function]} ondblclick -- onDblClick method reference
\{[Function]} onrightclick -- onRightClick method reference
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_ret|trigger=button|text=}{sub-section}{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setDesignMode-Function_Function_Function_Function_Function_Function_sam|trigger=none}{code:language=javascript}
var form = forms["selectedFormName"];
if (!form.controller.getDesignMode())
{
	// Set the current form in designmode with no callbacks
	form.controller.setDesignMode(true);
	// Set the current form in designmode with callbacks
	// where onDrag, onDrop, onSelect, onResize are names of form methods (not from "selectedFormName" form)
	// form.controller.setDesignMode(onDrag, onDrop, onSelect, onResize);
}
//Set the current form out of designmode (to normal browse)
//form.controller.setDesignMode(false);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setPageFormat-Number_Number_Number_Number_Number_Number|class=node}{tr:id=name}{td}h6.setPageFormat{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setPageFormat{span}{span:id=iets|style=float: left;}\(width, height, leftmargin, rightmargin, topmargin, bottommargin){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_des|trigger=button|text=}{sub-section}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_snc|trigger=button|text=}{sub-section}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_prs|trigger=button|text=}{sub-section}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_prs|trigger=none|class=sIndent}\{[Number]} width -- the specified width of the page to be printed.
\{[Number]} height -- the specified height of the page to be printed.
\{[Number]} leftmargin -- the specified left margin of the page to be printed.
\{[Number]} rightmargin -- the specified right margin of the page to be printed.
\{[Number]} topmargin -- the specified top margin of the page to be printed.
\{[Number]} bottommargin -- the specified bottom margin of the page to be printed.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_ret|trigger=button|text=}{sub-section}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_sam|trigger=none}{code:language=javascript}
//Set page format to a custom size of 100x200 pixels with 10 pixel margins on all sides in portrait mode
forms.customer.controller.setPageFormat(100, 200, 10, 10, 10, 10);

//Set page format to a custom size of 100x200 pixels with 10 pixel margins on all sides in landscape mode
forms.customer.controller.setPageFormat(100, 200, 10, 10, 10, 10, SM_ORIENTATION.LANDSCAPE);

//Set page format to a custom size of 100x200 mm in landscape mode
forms.customer.controller.setPageFormat(100, 200, 0, 0, 0, 0, SM_ORIENTATION.LANDSCAPE, SM_UNITS.MM);

//Set page format to a custom size of 100x200 inch in portrait mode
forms.customer.controller.setPageFormat(100, 200, 0, 0, 0, 0, SM_ORIENTATION.PORTRAIT, SM_UNITS.INCH);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setPageFormat-Number_Number_Number_Number_Number_Number_Number|class=node}{tr:id=name}{td}h6.setPageFormat{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setPageFormat{span}{span:id=iets|style=float: left;}\(width, height, leftmargin, rightmargin, topmargin, bottommargin, orientation){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_des|trigger=button|text=}{sub-section}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_snc|trigger=button|text=}{sub-section}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_prs|trigger=button|text=}{sub-section}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_prs|trigger=none|class=sIndent}\{[Number]} width -- the specified width of the page to be printed.
\{[Number]} height -- the specified height of the page to be printed.
\{[Number]} leftmargin -- the specified left margin of the page to be printed.
\{[Number]} rightmargin -- the specified right margin of the page to be printed.
\{[Number]} topmargin -- the specified top margin of the page to be printed.
\{[Number]} bottommargin -- the specified bottom margin of the page to be printed.
\{[Number]} orientation -- the specified orientation of the page to be printed; the default is Portrait mode
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_ret|trigger=button|text=}{sub-section}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_sam|trigger=none}{code:language=javascript}
//Set page format to a custom size of 100x200 pixels with 10 pixel margins on all sides in portrait mode
forms.customer.controller.setPageFormat(100, 200, 10, 10, 10, 10);

//Set page format to a custom size of 100x200 pixels with 10 pixel margins on all sides in landscape mode
forms.customer.controller.setPageFormat(100, 200, 10, 10, 10, 10, SM_ORIENTATION.LANDSCAPE);

//Set page format to a custom size of 100x200 mm in landscape mode
forms.customer.controller.setPageFormat(100, 200, 0, 0, 0, 0, SM_ORIENTATION.LANDSCAPE, SM_UNITS.MM);

//Set page format to a custom size of 100x200 inch in portrait mode
forms.customer.controller.setPageFormat(100, 200, 0, 0, 0, 0, SM_ORIENTATION.PORTRAIT, SM_UNITS.INCH);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number|class=node}{tr:id=name}{td}h6.setPageFormat{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setPageFormat{span}{span:id=iets|style=float: left;}\(width, height, leftmargin, rightmargin, topmargin, bottommargin, orientation, units){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_des|trigger=button|text=}{sub-section}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_snc|trigger=button|text=}{sub-section}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_prs|trigger=button|text=}{sub-section}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_prs|trigger=none|class=sIndent}\{[Number]} width -- the specified width of the page to be printed.
\{[Number]} height -- the specified height of the page to be printed.
\{[Number]} leftmargin -- the specified left margin of the page to be printed.
\{[Number]} rightmargin -- the specified right margin of the page to be printed.
\{[Number]} topmargin -- the specified top margin of the page to be printed.
\{[Number]} bottommargin -- the specified bottom margin of the page to be printed.
\{[Number]} orientation -- the specified orientation of the page to be printed; the default is Portrait mode
\{[Number]} units -- the specified units for the width and height of the page to be printed; the default is pixels
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_ret|trigger=button|text=}{sub-section}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setPageFormat-Number_Number_Number_Number_Number_Number_Number_Number_sam|trigger=none}{code:language=javascript}
//Set page format to a custom size of 100x200 pixels with 10 pixel margins on all sides in portrait mode
forms.customer.controller.setPageFormat(100, 200, 10, 10, 10, 10);

//Set page format to a custom size of 100x200 pixels with 10 pixel margins on all sides in landscape mode
forms.customer.controller.setPageFormat(100, 200, 10, 10, 10, 10, SM_ORIENTATION.LANDSCAPE);

//Set page format to a custom size of 100x200 mm in landscape mode
forms.customer.controller.setPageFormat(100, 200, 0, 0, 0, 0, SM_ORIENTATION.LANDSCAPE, SM_UNITS.MM);

//Set page format to a custom size of 100x200 inch in portrait mode
forms.customer.controller.setPageFormat(100, 200, 0, 0, 0, 0, SM_ORIENTATION.PORTRAIT, SM_UNITS.INCH);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setPreferredPrinter|class=node}{tr:id=name}{td}h6.setPreferredPrinter{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setPreferredPrinter{span}{span:id=iets|style=float: left;}\(printerName){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setPreferredPrinter_des|trigger=button|text=}{sub-section}{sub-section:setPreferredPrinter_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setPreferredPrinter_snc|trigger=button|text=}{sub-section}{sub-section:setPreferredPrinter_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setPreferredPrinter_prs|trigger=button|text=}{sub-section}{sub-section:setPreferredPrinter_prs|trigger=none|class=sIndent}\{[String]} printerName -- The name of the printer to be used when printing.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setPreferredPrinter_ret|trigger=button|text=}{sub-section}{sub-section:setPreferredPrinter_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setPreferredPrinter_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setPreferredPrinter_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setPreferredPrinter_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setPreferredPrinter_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setPreferredPrinter_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setPreferredPrinter_sam|trigger=none}{code:language=javascript}
forms.customer.controller.setPreferredPrinter('HP Laser 2200');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setSelectedIndex|class=node}{tr:id=name}{td}h6.setSelectedIndex{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setSelectedIndex{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setSelectedIndex_des|trigger=button|text=}{sub-section}{sub-section:setSelectedIndex_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setSelectedIndex_snc|trigger=button|text=}{sub-section}{sub-section:setSelectedIndex_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setSelectedIndex_prs|trigger=button|text=}{sub-section}{sub-section:setSelectedIndex_prs|trigger=none|class=sIndent}\{[Number]} index -- the index to select
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setSelectedIndex_ret|trigger=button|text=}{sub-section}{sub-section:setSelectedIndex_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setSelectedIndex_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setSelectedIndex_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setSelectedIndex_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setSelectedIndex_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setSelectedIndex_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setSelectedIndex_sam|trigger=none}{code:language=javascript}
//gets the current record index in the current foundset
var current = forms.customer.controller.getSelectedIndex();
//sets the next record in the foundset, will be reflected in UI
forms.customer.controller.setSelectedIndex(current+1);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setTabSequence|class=node}{tr:id=name}{td}h6.setTabSequence{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setTabSequence{span}{span:id=iets|style=float: left;}\(arrayOfElements){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setTabSequence_des|trigger=button|text=}{sub-section}{sub-section:setTabSequence_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setTabSequence_snc|trigger=button|text=}{sub-section}{sub-section:setTabSequence_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setTabSequence_prs|trigger=button|text=}{sub-section}{sub-section:setTabSequence_prs|trigger=none|class=sIndent}\{[Object]\[]} arrayOfElements -- array containing the element references
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setTabSequence_ret|trigger=button|text=}{sub-section}{sub-section:setTabSequence_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setTabSequence_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setTabSequence_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setTabSequence_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setTabSequence_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setTabSequence_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setTabSequence_sam|trigger=none}{code:language=javascript}
forms.customer.controller.setTabSequence([forms.customer.elements.fld_order_id, forms.customer.elements.fld_order_amount]);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=show|class=node}{tr:id=name}{td}h6.show{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}show{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:show_des|trigger=button|text=}{sub-section}{sub-section:show_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:show_snc|trigger=button|text=}{sub-section}{sub-section:show_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:show_prs|trigger=button|text=}{sub-section}{sub-section:show_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:show_ret|trigger=button|text=}{sub-section}{sub-section:show_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:show_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:show_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:show_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:show_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:show_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:show_sam|trigger=none}{code:language=javascript}
// show the form in the current window/dialog
forms.customer.controller.show();
// show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.show(w);
// show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.show(w);
// or forms.customer.controller.show("mydialog");
//show the form in the main window
//forms.customer.controller.show(null);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=show-JSWindow|class=node}{tr:id=name}{td}h6.show{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}show{span}{span:id=iets|style=float: left;}\(window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:show-JSWindow_des|trigger=button|text=}{sub-section}{sub-section:show-JSWindow_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:show-JSWindow_snc|trigger=button|text=}{sub-section}{sub-section:show-JSWindow_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:show-JSWindow_prs|trigger=button|text=}{sub-section}{sub-section:show-JSWindow_prs|trigger=none|class=sIndent}\{[JSWindow]} window -- the window in which this form should be shown, given as a window object
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:show-JSWindow_ret|trigger=button|text=}{sub-section}{sub-section:show-JSWindow_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:show-JSWindow_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:show-JSWindow_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:show-JSWindow_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:show-JSWindow_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:show-JSWindow_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:show-JSWindow_sam|trigger=none}{code:language=javascript}
// show the form in the current window/dialog
forms.customer.controller.show();
// show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.show(w);
// show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.show(w);
// or forms.customer.controller.show("mydialog");
//show the form in the main window
//forms.customer.controller.show(null);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=show-String|class=node}{tr:id=name}{td}h6.show{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}show{span}{span:id=iets|style=float: left;}\(window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:show-String_des|trigger=button|text=}{sub-section}{sub-section:show-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:show-String_snc|trigger=button|text=}{sub-section}{sub-section:show-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:show-String_prs|trigger=button|text=}{sub-section}{sub-section:show-String_prs|trigger=none|class=sIndent}\{[String]} window -- the window in which this form should be shown, specified by the name of an existing window
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:show-String_ret|trigger=button|text=}{sub-section}{sub-section:show-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:show-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:show-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:show-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:show-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:show-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:show-String_sam|trigger=none}{code:language=javascript}
// show the form in the current window/dialog
forms.customer.controller.show();
// show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.show(w);
// show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.show(w);
// or forms.customer.controller.show("mydialog");
//show the form in the main window
//forms.customer.controller.show(null);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showPrintPreview|class=node}{tr:id=name}{td}h6.showPrintPreview{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showPrintPreview{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showPrintPreview_des|trigger=button|text=}{sub-section}{sub-section:showPrintPreview_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showPrintPreview_snc|trigger=button|text=}{sub-section}{sub-section:showPrintPreview_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:showPrintPreview_prs|trigger=button|text=}{sub-section}{sub-section:showPrintPreview_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:showPrintPreview_ret|trigger=button|text=}{sub-section}{sub-section:showPrintPreview_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showPrintPreview_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showPrintPreview_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showPrintPreview_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showPrintPreview_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showPrintPreview_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showPrintPreview_sam|trigger=none}{code:language=javascript}
//shows this form (with foundset records) in print preview
forms.customer.controller.showPrintPreview();
//to print preview current record only
//forms.customer.controller.showPrintPreview(true);
//to print preview current record only with 125% zoom factor; 
//forms.customer.controller.showPrintPreview(true, null, 125);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showPrintPreview-Boolean|class=node}{tr:id=name}{td}h6.showPrintPreview{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showPrintPreview{span}{span:id=iets|style=float: left;}\(printCurrentRecordOnly){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showPrintPreview-Boolean_des|trigger=button|text=}{sub-section}{sub-section:showPrintPreview-Boolean_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showPrintPreview-Boolean_snc|trigger=button|text=}{sub-section}{sub-section:showPrintPreview-Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showPrintPreview-Boolean_prs|trigger=button|text=}{sub-section}{sub-section:showPrintPreview-Boolean_prs|trigger=none|class=sIndent}\{[Boolean]} printCurrentRecordOnly -- to print the current record only
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showPrintPreview-Boolean_ret|trigger=button|text=}{sub-section}{sub-section:showPrintPreview-Boolean_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showPrintPreview-Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showPrintPreview-Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showPrintPreview-Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showPrintPreview-Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showPrintPreview-Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showPrintPreview-Boolean_sam|trigger=none}{code:language=javascript}
//shows this form (with foundset records) in print preview
forms.customer.controller.showPrintPreview();
//to print preview current record only
//forms.customer.controller.showPrintPreview(true);
//to print preview current record only with 125% zoom factor; 
//forms.customer.controller.showPrintPreview(true, null, 125);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showPrintPreview-Boolean_PrinterJob|class=node}{tr:id=name}{td}h6.showPrintPreview{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showPrintPreview{span}{span:id=iets|style=float: left;}\(printCurrentRecordOnly, printerJob){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showPrintPreview-Boolean_PrinterJob_des|trigger=button|text=}{sub-section}{sub-section:showPrintPreview-Boolean_PrinterJob_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showPrintPreview-Boolean_PrinterJob_snc|trigger=button|text=}{sub-section}{sub-section:showPrintPreview-Boolean_PrinterJob_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showPrintPreview-Boolean_PrinterJob_prs|trigger=button|text=}{sub-section}{sub-section:showPrintPreview-Boolean_PrinterJob_prs|trigger=none|class=sIndent}\{[Boolean]} printCurrentRecordOnly -- to print the current record only
\{[PrinterJob]} printerJob -- print to plugin printer job, see pdf printer plugin for example (incase print is used from printpreview)
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showPrintPreview-Boolean_PrinterJob_ret|trigger=button|text=}{sub-section}{sub-section:showPrintPreview-Boolean_PrinterJob_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showPrintPreview-Boolean_PrinterJob_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showPrintPreview-Boolean_PrinterJob_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showPrintPreview-Boolean_PrinterJob_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showPrintPreview-Boolean_PrinterJob_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showPrintPreview-Boolean_PrinterJob_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showPrintPreview-Boolean_PrinterJob_sam|trigger=none}{code:language=javascript}
//shows this form (with foundset records) in print preview
forms.customer.controller.showPrintPreview();
//to print preview current record only
//forms.customer.controller.showPrintPreview(true);
//to print preview current record only with 125% zoom factor; 
//forms.customer.controller.showPrintPreview(true, null, 125);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showPrintPreview-Boolean_PrinterJob_Number|class=node}{tr:id=name}{td}h6.showPrintPreview{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showPrintPreview{span}{span:id=iets|style=float: left;}\(printCurrentRecordOnly, printerJob, zoomFactor){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showPrintPreview-Boolean_PrinterJob_Number_des|trigger=button|text=}{sub-section}{sub-section:showPrintPreview-Boolean_PrinterJob_Number_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showPrintPreview-Boolean_PrinterJob_Number_snc|trigger=button|text=}{sub-section}{sub-section:showPrintPreview-Boolean_PrinterJob_Number_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showPrintPreview-Boolean_PrinterJob_Number_prs|trigger=button|text=}{sub-section}{sub-section:showPrintPreview-Boolean_PrinterJob_Number_prs|trigger=none|class=sIndent}\{[Boolean]} printCurrentRecordOnly -- to print the current record only
\{[PrinterJob]} printerJob -- print to plugin printer job, see pdf printer plugin for example (incase print is used from printpreview)
\{[Number]} zoomFactor -- a specified number value from 10\-400
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showPrintPreview-Boolean_PrinterJob_Number_ret|trigger=button|text=}{sub-section}{sub-section:showPrintPreview-Boolean_PrinterJob_Number_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showPrintPreview-Boolean_PrinterJob_Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showPrintPreview-Boolean_PrinterJob_Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showPrintPreview-Boolean_PrinterJob_Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showPrintPreview-Boolean_PrinterJob_Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showPrintPreview-Boolean_PrinterJob_Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showPrintPreview-Boolean_PrinterJob_Number_sam|trigger=none}{code:language=javascript}
//shows this form (with foundset records) in print preview
forms.customer.controller.showPrintPreview();
//to print preview current record only
//forms.customer.controller.showPrintPreview(true);
//to print preview current record only with 125% zoom factor; 
//forms.customer.controller.showPrintPreview(true, null, 125);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-JSFoundSet|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(foundset){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-JSFoundSet_des|trigger=button|text=}{sub-section}{sub-section:showRecords-JSFoundSet_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-JSFoundSet_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-JSFoundSet_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-JSFoundSet_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-JSFoundSet_prs|trigger=none|class=sIndent}\{[JSFoundSet]} foundset -- the foundset to load before showing the form.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-JSFoundSet_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-JSFoundSet_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-JSFoundSet_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSFoundSet_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-JSFoundSet_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSFoundSet_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-JSFoundSet_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSFoundSet_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-JSFoundSet_JSWindow|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(foundset, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-JSFoundSet_JSWindow_des|trigger=button|text=}{sub-section}{sub-section:showRecords-JSFoundSet_JSWindow_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-JSFoundSet_JSWindow_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-JSFoundSet_JSWindow_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-JSFoundSet_JSWindow_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-JSFoundSet_JSWindow_prs|trigger=none|class=sIndent}\{[JSFoundSet]} foundset -- the foundset to load before showing the form.
\{[JSWindow]} window -- the window in which this form should be shown, given as a window object.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-JSFoundSet_JSWindow_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-JSFoundSet_JSWindow_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-JSFoundSet_JSWindow_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSFoundSet_JSWindow_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-JSFoundSet_JSWindow_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSFoundSet_JSWindow_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-JSFoundSet_JSWindow_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSFoundSet_JSWindow_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-JSFoundSet_String|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(foundset, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-JSFoundSet_String_des|trigger=button|text=}{sub-section}{sub-section:showRecords-JSFoundSet_String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-JSFoundSet_String_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-JSFoundSet_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-JSFoundSet_String_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-JSFoundSet_String_prs|trigger=none|class=sIndent}\{[JSFoundSet]} foundset -- the foundset to load before showing the form.
\{[String]} window -- the window in which this form should be shown, specified by the name of an existing window.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-JSFoundSet_String_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-JSFoundSet_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-JSFoundSet_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSFoundSet_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-JSFoundSet_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSFoundSet_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-JSFoundSet_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSFoundSet_String_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-JSDataSet|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(pkdataset){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-JSDataSet_des|trigger=button|text=}{sub-section}{sub-section:showRecords-JSDataSet_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-JSDataSet_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-JSDataSet_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-JSDataSet_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-JSDataSet_prs|trigger=none|class=sIndent}\{[JSDataSet]} pkdataset -- the pkdataset to load before showing the form.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-JSDataSet_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-JSDataSet_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-JSDataSet_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSDataSet_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-JSDataSet_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSDataSet_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-JSDataSet_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSDataSet_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-JSDataSet_JSWindow|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(pkdataset, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-JSDataSet_JSWindow_des|trigger=button|text=}{sub-section}{sub-section:showRecords-JSDataSet_JSWindow_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-JSDataSet_JSWindow_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-JSDataSet_JSWindow_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-JSDataSet_JSWindow_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-JSDataSet_JSWindow_prs|trigger=none|class=sIndent}\{[JSDataSet]} pkdataset -- the pkdataset to load before showing the form.
\{[JSWindow]} window -- the window in which this form should be shown, given as a window object.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-JSDataSet_JSWindow_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-JSDataSet_JSWindow_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-JSDataSet_JSWindow_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSDataSet_JSWindow_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-JSDataSet_JSWindow_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSDataSet_JSWindow_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-JSDataSet_JSWindow_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSDataSet_JSWindow_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-JSDataSet_String|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(pkdataset, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-JSDataSet_String_des|trigger=button|text=}{sub-section}{sub-section:showRecords-JSDataSet_String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-JSDataSet_String_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-JSDataSet_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-JSDataSet_String_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-JSDataSet_String_prs|trigger=none|class=sIndent}\{[JSDataSet]} pkdataset -- the pkdataset to load before showing the form.
\{[String]} window -- the window in which this form should be shown, specified by the name of an existing window.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-JSDataSet_String_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-JSDataSet_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-JSDataSet_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSDataSet_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-JSDataSet_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSDataSet_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-JSDataSet_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-JSDataSet_String_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-QBSelect|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(query){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-QBSelect_des|trigger=button|text=}{sub-section}{sub-section:showRecords-QBSelect_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-QBSelect_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-QBSelect_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-QBSelect_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-QBSelect_prs|trigger=none|class=sIndent}\{[QBSelect]} query -- the query to load before showing the form.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-QBSelect_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-QBSelect_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-QBSelect_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-QBSelect_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-QBSelect_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-QBSelect_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-QBSelect_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-QBSelect_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-QBSelect_JSWindow|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(query, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-QBSelect_JSWindow_des|trigger=button|text=}{sub-section}{sub-section:showRecords-QBSelect_JSWindow_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-QBSelect_JSWindow_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-QBSelect_JSWindow_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-QBSelect_JSWindow_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-QBSelect_JSWindow_prs|trigger=none|class=sIndent}\{[QBSelect]} query -- the query to load before showing the form.
\{[JSWindow]} window -- the window in which this form should be shown, given as a window object.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-QBSelect_JSWindow_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-QBSelect_JSWindow_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-QBSelect_JSWindow_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-QBSelect_JSWindow_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-QBSelect_JSWindow_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-QBSelect_JSWindow_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-QBSelect_JSWindow_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-QBSelect_JSWindow_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-QBSelect_String|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(query, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-QBSelect_String_des|trigger=button|text=}{sub-section}{sub-section:showRecords-QBSelect_String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-QBSelect_String_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-QBSelect_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-QBSelect_String_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-QBSelect_String_prs|trigger=none|class=sIndent}\{[QBSelect]} query -- the query to load before showing the form.
\{[String]} window -- the window in which this form should be shown, specified by the name of an existing window.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-QBSelect_String_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-QBSelect_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-QBSelect_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-QBSelect_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-QBSelect_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-QBSelect_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-QBSelect_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-QBSelect_String_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-UUID|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(UUIDpk){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-UUID_des|trigger=button|text=}{sub-section}{sub-section:showRecords-UUID_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-UUID_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-UUID_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-UUID_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-UUID_prs|trigger=none|class=sIndent}\{[UUID]} UUIDpk -- the UUIDpk to load before showing the form.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-UUID_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-UUID_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-UUID_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-UUID_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-UUID_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-UUID_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-UUID_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-UUID_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-UUID_JSWindow|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(UUIDpk, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-UUID_JSWindow_des|trigger=button|text=}{sub-section}{sub-section:showRecords-UUID_JSWindow_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-UUID_JSWindow_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-UUID_JSWindow_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-UUID_JSWindow_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-UUID_JSWindow_prs|trigger=none|class=sIndent}\{[UUID]} UUIDpk -- the UUIDpk to load before showing the form.
\{[JSWindow]} window -- the window in which this form should be shown, given as a window object.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-UUID_JSWindow_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-UUID_JSWindow_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-UUID_JSWindow_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-UUID_JSWindow_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-UUID_JSWindow_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-UUID_JSWindow_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-UUID_JSWindow_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-UUID_JSWindow_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-UUID_String|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(UUIDpk, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-UUID_String_des|trigger=button|text=}{sub-section}{sub-section:showRecords-UUID_String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-UUID_String_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-UUID_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-UUID_String_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-UUID_String_prs|trigger=none|class=sIndent}\{[UUID]} UUIDpk -- the UUIDpk to load before showing the form.
\{[String]} window -- the window in which this form should be shown, specified by the name of an existing window.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-UUID_String_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-UUID_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-UUID_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-UUID_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-UUID_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-UUID_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-UUID_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-UUID_String_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-Number|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(singleNumber_pk){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-Number_des|trigger=button|text=}{sub-section}{sub-section:showRecords-Number_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-Number_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-Number_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-Number_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-Number_prs|trigger=none|class=sIndent}\{[Number]} singleNumber_pk -- the singleNumber\_pk to load before showing the form.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-Number_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-Number_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-Number_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-Number_JSWindow|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(singleNumber_pk, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-Number_JSWindow_des|trigger=button|text=}{sub-section}{sub-section:showRecords-Number_JSWindow_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-Number_JSWindow_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-Number_JSWindow_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-Number_JSWindow_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-Number_JSWindow_prs|trigger=none|class=sIndent}\{[Number]} singleNumber_pk -- the singleNumber\_pk to load before showing the form.
\{[JSWindow]} window -- the window in which this form should be shown, given as a window object
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-Number_JSWindow_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-Number_JSWindow_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-Number_JSWindow_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-Number_JSWindow_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-Number_JSWindow_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-Number_JSWindow_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-Number_JSWindow_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-Number_JSWindow_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-Number_String|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(singleNumber_pk, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-Number_String_des|trigger=button|text=}{sub-section}{sub-section:showRecords-Number_String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-Number_String_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-Number_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-Number_String_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-Number_String_prs|trigger=none|class=sIndent}\{[Number]} singleNumber_pk -- the singleNumber\_pk to load before showing the form.
\{[String]} window -- the window in which this form should be shown, specified by the name of an existing window.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-Number_String_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-Number_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-Number_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-Number_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-Number_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-Number_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-Number_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-Number_String_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-String|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(query){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-String_des|trigger=button|text=}{sub-section}{sub-section:showRecords-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-String_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-String_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-String_prs|trigger=none|class=sIndent}\{[String]} query -- the query to load before showing the form.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-String_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-String_JSWindow|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(query, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-String_JSWindow_des|trigger=button|text=}{sub-section}{sub-section:showRecords-String_JSWindow_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-String_JSWindow_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-String_JSWindow_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-String_JSWindow_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-String_JSWindow_prs|trigger=none|class=sIndent}\{[String]} query -- the query to load before showing the form.
\{[JSWindow]} window -- the window in which this form should be shown, given as a window object
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-String_JSWindow_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-String_JSWindow_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-String_JSWindow_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_JSWindow_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-String_JSWindow_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_JSWindow_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-String_JSWindow_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_JSWindow_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-String_ObjectArray|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(query, argumentsArray){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-String_ObjectArray_des|trigger=button|text=}{sub-section}{sub-section:showRecords-String_ObjectArray_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-String_ObjectArray_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-String_ObjectArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-String_ObjectArray_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-String_ObjectArray_prs|trigger=none|class=sIndent}\{[String]} query -- the query to load before showing the form.
\{[Object]\[]} argumentsArray -- the array of arguments for the query
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-String_ObjectArray_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-String_ObjectArray_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-String_ObjectArray_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_ObjectArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-String_ObjectArray_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_ObjectArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-String_ObjectArray_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_ObjectArray_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-String_ObjectArray_JSWindow|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(query, argumentsArray, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-String_ObjectArray_JSWindow_des|trigger=button|text=}{sub-section}{sub-section:showRecords-String_ObjectArray_JSWindow_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-String_ObjectArray_JSWindow_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-String_ObjectArray_JSWindow_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-String_ObjectArray_JSWindow_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-String_ObjectArray_JSWindow_prs|trigger=none|class=sIndent}\{[String]} query -- the query to load before showing the form.
\{[Object]\[]} argumentsArray -- the array of arguments for the query
\{[JSWindow]} window -- the window in which this form should be shown, given as a window object
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-String_ObjectArray_JSWindow_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-String_ObjectArray_JSWindow_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-String_ObjectArray_JSWindow_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_ObjectArray_JSWindow_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-String_ObjectArray_JSWindow_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_ObjectArray_JSWindow_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-String_ObjectArray_JSWindow_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_ObjectArray_JSWindow_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-String_ObjectArray_String|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(query, argumentsArray, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-String_ObjectArray_String_des|trigger=button|text=}{sub-section}{sub-section:showRecords-String_ObjectArray_String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-String_ObjectArray_String_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-String_ObjectArray_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-String_ObjectArray_String_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-String_ObjectArray_String_prs|trigger=none|class=sIndent}\{[String]} query -- the query to load before showing the form.
\{[Object]\[]} argumentsArray -- the array of arguments for the query
\{[String]} window -- the window in which this form should be shown, specified by the name of an existing window.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-String_ObjectArray_String_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-String_ObjectArray_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-String_ObjectArray_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_ObjectArray_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-String_ObjectArray_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_ObjectArray_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-String_ObjectArray_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_ObjectArray_String_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=showRecords-String_String|class=node}{tr:id=name}{td}h6.showRecords{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}showRecords{span}{span:id=iets|style=float: left;}\(query, window){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:showRecords-String_String_des|trigger=button|text=}{sub-section}{sub-section:showRecords-String_String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:showRecords-String_String_snc|trigger=button|text=}{sub-section}{sub-section:showRecords-String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:showRecords-String_String_prs|trigger=button|text=}{sub-section}{sub-section:showRecords-String_String_prs|trigger=none|class=sIndent}\{[String]} query -- the query to load before showing the form.
\{[String]} window -- the window in which this form should be shown, specified by the name of an existing window.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:showRecords-String_String_ret|trigger=button|text=}{sub-section}{sub-section:showRecords-String_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:showRecords-String_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:showRecords-String_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:showRecords-String_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:showRecords-String_String_sam|trigger=none}{code:language=javascript}
forms.customer.controller.showRecords(foundset);
// load foundset & show the form in newly created named modal dialog
var w = application.createWindow("mydialog", JSWindow.MODAL_DIALOG);
forms.customer.controller.showRecords(foundset, w);
// load foundset & show the form in an existing window/dialog
var w = application.getWindow("mydialog"); // use null name for main app. window
forms.customer.controller.showRecords(foundset, w);
//forms.customer.controller.showRecords(foundset, "mydialog");
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=sort-String|class=node}{tr:id=name}{td}h6.sort{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}sort{span}{span:id=iets|style=float: left;}\(sortString){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:sort-String_des|trigger=button|text=}{sub-section}{sub-section:sort-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:sort-String_snc|trigger=button|text=}{sub-section}{sub-section:sort-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:sort-String_prs|trigger=button|text=}{sub-section}{sub-section:sort-String_prs|trigger=none|class=sIndent}\{[String]} sortString -- the specified columns (and sort order)
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:sort-String_ret|trigger=button|text=}{sub-section}{sub-section:sort-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:sort-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:sort-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:sort-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:sort-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:sort-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:sort-String_sam|trigger=none}{code:language=javascript}
forms.customer.controller.sort('columnA desc,columnB asc');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=sort-String_Boolean|class=node}{tr:id=name}{td}h6.sort{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}sort{span}{span:id=iets|style=float: left;}\(sortString, defer){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:sort-String_Boolean_des|trigger=button|text=}{sub-section}{sub-section:sort-String_Boolean_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:sort-String_Boolean_snc|trigger=button|text=}{sub-section}{sub-section:sort-String_Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:sort-String_Boolean_prs|trigger=button|text=}{sub-section}{sub-section:sort-String_Boolean_prs|trigger=none|class=sIndent}\{[String]} sortString -- the specified columns (and sort order)
\{[Boolean]} defer -- the "sortString" will be just stored, without performing a query on the database (the actual sorting will be deferred until the next data loading action).
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:sort-String_Boolean_ret|trigger=button|text=}{sub-section}{sub-section:sort-String_Boolean_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:sort-String_Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:sort-String_Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:sort-String_Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:sort-String_Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:sort-String_Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:sort-String_Boolean_sam|trigger=none}{code:language=javascript}
forms.customer.controller.sort('columnA desc,columnB asc');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=sortDialog|class=node}{tr:id=name}{td}h6.sortDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}sortDialog{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:sortDialog_des|trigger=button|text=}{sub-section}{sub-section:sortDialog_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:sortDialog_snc|trigger=button|text=}{sub-section}{sub-section:sortDialog_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:sortDialog_prs|trigger=button|text=}{sub-section}{sub-section:sortDialog_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:sortDialog_ret|trigger=button|text=}{sub-section}{sub-section:sortDialog_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:sortDialog_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:sortDialog_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:sortDialog_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:sortDialog_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:sortDialog_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:sortDialog_sam|trigger=none}{code:language=javascript}
forms.customer.controller.sortDialog('columnA desc,columnB asc');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=sortDialog-String|class=node}{tr:id=name}{td}h6.sortDialog{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}sortDialog{span}{span:id=iets|style=float: left;}\(sortString){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:sortDialog-String_des|trigger=button|text=}{sub-section}{sub-section:sortDialog-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:sortDialog-String_snc|trigger=button|text=}{sub-section}{sub-section:sortDialog-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:sortDialog-String_prs|trigger=button|text=}{sub-section}{sub-section:sortDialog-String_prs|trigger=none|class=sIndent}\{[String]} sortString -- the specified columns (and sort order)
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:sortDialog-String_ret|trigger=button|text=}{sub-section}{sub-section:sortDialog-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:sortDialog-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:sortDialog-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:sortDialog-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:sortDialog-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:sortDialog-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:sortDialog-String_sam|trigger=none}{code:language=javascript}
forms.customer.controller.sortDialog('columnA desc,columnB asc');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}