DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR. Enter additional information related to this 'class' inside the {div} macro with 'id=description'
servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientservoy sSummary12%30%58%height: 30px;3Constants SummaryConstant use for specifying the type of form parts.
When set, the remainder of a selected part that does not fit on the page currently being printed, will not be transported to the next page - it will break where the page ends and continue on the next page.
NOTE: Make sure to set this option when you are printing more than one page per record.
var body = form.newPart(JSPart.BODY, 320);
body.allowBreakAcrossPageBounds = true;
body.discardRemainderAfterBreak = true;
...
class
lastDetailRow
...
id
background
Table Row (tr)
id
name
Table Cell (td)
background
Table Row (tr)
id
des
Table Cell (td)
Div
class
sIndent
The background color of the form part.
NOTE: When no background color has been set, the default background color will be determined by the Look and Feel (LAF) that has been selected in Application Preferences.
var body = form.newPart(JSPart.BODY, 320);
body.allowBreakAcrossPageBounds = true;
body.discardRemainderAfterBreak = true;
...
class
lastDetailRow
...
id
groupbyDataProviderIDs
Table Row (tr)
id
name
Table Cell (td)
groupbyDataProviderIDs
Table Row (tr)
id
des
Table Cell (td)
Div
class
sIndent
For Leading Subsummary or Trailing Subsummary parts, one or more dataproviders can be added as Break (GroupBy) dataproviders. The Leading/Trailing Subsummary parts will be displayed once for each resulted group of data.
var button_uuid = solutionModel.getForm("my_form").getButton("my_button").getUUID();
application.output(button_uuid.toString());
...
class
lastDetailRow
...
Supported Clients
sIndent
...
Table Row (tr)
id
sam
Table Cell (td)
Sample
Div
class
sIndent
Code Block
language
javascript
var body = form.newPart(JSPart.BODY, 320);
...
class
lastDetailRow
...
id
FOOTER
Table Row (tr)
id
name
Table Cell (td)
FOOTER
Table Row (tr)
id
des
Table Cell (td)
Div
class
sIndent
Constant use for specifying the type of form parts.
A footer is displayed at the bottom of each page when printed ad can contain summaries of the current selection of records. In List view, the footer is displayed at the bottom of the list of records.
Constant use for specifying the type of form parts.
A header is displayed at the top of each page when printed and can contain summaries of the current selection of records. In List view the header is displayed above the list of records.
var leadingGrandSummary = form.newPart(JSPart.LEADING_GRAND_SUMMARY, 120);
...
class
lastDetailRow
...
id
LEADING_SUBSUMMARY
Table Row (tr)
id
name
Table Cell (td)
LEADING_SUBSUMMARY
Table Row (tr)
id
des
Table Cell (td)
Div
class
sIndent
Constant use for specifying the type of form parts.
A Leading Subsummary can be placed before the body part. There can be multiple Leading Subsummaries per form. Each Subsummary part has a set of Group By fields which are used to group data together. Each Subsummary part can contain summary fields, which will be printed once for each group of data.
var titleFooter = form.newPart(JSPart.TITLE_FOOTER, 500);
...
class
lastDetailRow
...
id
TITLE_HEADER
Table Row (tr)
id
name
Table Cell (td)
TITLE_HEADER
Table Row (tr)
id
des
Table Cell (td)
Div
class
sIndent
Constant use for specifying the type of form parts.
Appears only once on the first page of a printed report or on top of the first screen of a foundset. If a Header is available it is replace by the Title Header on the first page.
var trailingGrandSummary = form.newPart(JSPart.TRAILING_GRAND_SUMMARY, 400);
...
class
lastDetailRow
...
id
TRAILING_SUBSUMMARY
Table Row (tr)
id
name
Table Cell (td)
TRAILING_SUBSUMMARY
Table Row (tr)
id
des
Table Cell (td)
Div
class
sIndent
Constant use for specifying the type of form parts.
A Trailing Subsummary can be placed before the body part. There can be multiple Trailing Subsummaries per form. Each Subsummary part has a set of Group By fields which are used to group data together. Each Subsummary part can contain summary fields, which will be printed once for each group of data.
var trailingSubsummary = form.newPart(JSPart.TRAILING_SUBSUMMARY, 360);
...
class
lastDetailRow
...
id
property
class
servoy sDetail
...
padding
0px
width
100%
Table Row (tr)
style
height: 30px;
Table Head (th)
colspan
1
Property Details
...
id
allowBreakAcrossPageBounds
SmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowFOOTERname
FOOTER
dessIndent
Constant use for specifying the type of form parts.
A footer is displayed at the bottom of each page when printed ad can
contain summaries of the current selection of records. In List view, the
footer is displayed at the bottom of the list of records.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowHEADERname
HEADER
dessIndent
Constant use for specifying the type of form parts.
A header is displayed at the top of each page when printed and can contain
summaries of the current selection of records. In List view the header is
displayed above the list of records. In tableview the default column headers will
not be there if this is specified.
Constant use for specifying the type of form parts.
A Leading Grand Summary can be placed before the body part. It can contain
summary fields that will generate summaries for the entire foundset.
In tableview the default column headers will not be there if this is specified.
Constant use for specifying the type of form parts.
A Leading Subsummary can be placed before the body part. There can be multiple Leading Subsummaries
per form. Each Subsummary part has a set of Group By fields which are used to group data together.
Each Subsummary part can contain summary fields, which will be printed once for each group of data.
This part is only shown in printing
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClientsam
Sample
sIdentjavascriptlastDetailRowTITLE_FOOTERname
TITLE_FOOTER
dessIndent
Constant use for specifying the type of form parts.
Appears only once on the first page of a printed report. If a Footer is available, it is
replaced by the Title Footer on the first page.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClientsam
Sample
sIdentjavascriptlastDetailRowTITLE_HEADERname
TITLE_HEADER
dessIndent
Constant use for specifying the type of form parts.
Appears only once on the first page of a printed report or on top of the first screen
of a foundset. If a Header is available it is replace by the Title Header on the first
page.
This part is also shown in a normal none printing form, because it can be used to place components
in a tableview form and keep the default table header columns. Other parts as the HEADER will remove
the default header columns.
Constant use for specifying the type of form parts.
A Trailing Grand Summary can be placed after the body part. It can contain
summary fields that will generate summaries for the entire foundset.
Constant use for specifying the type of form parts.
A Trailing Subsummary can be placed after the body part. There can be multiple Trailing Subsummaries
per form. Each Subsummary part has a set of Group By fields which are used to group data together.
Each Subsummary part can contain summary fields, which will be printed once for each group of data.
This part is only shown in printing
When set, the remainder of a selected part that does not fit on the page currently
being printed, will not be transported to the next page - it will break where the page
ends and continue on the next page.
NOTE: Make sure to set this option when you are printing more than one page per record.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClientsam
Sample
sIdentjavascriptlastDetailRowbackgroundname
background
dessIndent
The background color of the form part.
NOTE: When no background color has been set, the default background
color will be determined by the Look and Feel (LAF) that has been selected
in Application Preferences.
For Leading Subsummary or Trailing Subsummary parts, one or more
dataproviders can be added as Break (GroupBy) dataproviders. The
Leading/Trailing Subsummary parts will be displayed once for each
resulted group of data.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowheightname
height
dessIndent
The height of a selected part; specified in pixels.
This height property is the lowerbound as its ending Y value (0 == top of the form).