Child pages
  • JSPart

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Constants SummaryConstant use for specifying the type of form parts.Constant use for specifying the type of form parts.Constant use for specifying the type of form parts.Constant use for specifying the type of form parts.Constant use for specifying the type of form parts.Constant use for specifying the type of form parts.Constant use for specifying the type of form parts.Constant use for specifying the type of form parts.Constant use for specifying the type of form parts.

servoy sSummary12%30%58%height: 30px;3Property SummaryWhen 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.The background color of the form part.When set, the remainder of a selected part that is broken due to the page ending will not be printed on the next page - it will be discarded.For Leading Subsummary or Trailing Subsummary parts, one or more dataproviders can be added as Break (GroupBy) dataproviders.The height of a selected part; specified in pixels.A page break will be inserted after a specified number of occurences of a selected part.When set, a page break will be inserted before each occurrence of a selected part.When set, page numbering will be restarted after each occurrence of a selected part.When set, the last part on a page (such as a Trailing Grand Summary part) will "sink" to the lowest part of the page when there is free space.The Cascading Style Sheet (CSS) class name applied to the part.

servoy sSummary12%30%58%height: 30px;3Methods SummaryThe type of this part.The Y offset of the part on the form, this will include all the super forms parts if this form extends a form.Returns the UUID of this component.

constantservoy sDetail2100%height:30px2Constants DetailsBODYname

BODY

dessIndentConstant use for specifying the type of form parts. This is the default part that is repeated for each record (being displayed and/or printed).ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow FOOTERname

FOOTER

dessIndentConstant 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

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
HEADERname

HEADER

dessIndentConstant 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.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
LEADING_GRAND_SUMMARYname

LEADING_GRAND_SUMMARY

dessIndentConstant 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.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
LEADING_SUBSUMMARYname

LEADING_SUBSUMMARY

dessIndentConstant 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.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
TITLE_FOOTERname

TITLE_FOOTER

dessIndentConstant use for specifying the type of form parts. Appears 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

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
TITLE_HEADERname

TITLE_HEADER

dessIndentConstant 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.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
TRAILING_GRAND_SUMMARYname

TRAILING_GRAND_SUMMARY

dessIndentConstant 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.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
TRAILING_SUBSUMMARYname

TRAILING_SUBSUMMARY

dessIndentConstant 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.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 

propertyservoy sDetail2100%height:30px2Property DetailsallowBreakAcrossPageBoundsname

allowBreakAcrossPageBounds

dessIndentWhen 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

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow backgroundname

background

dessIndentThe 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.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
discardRemainderAfterBreakname

discardRemainderAfterBreak

dessIndentWhen set, the remainder of a selected part that is broken due to the page ending will not be printed on the next page - it will be discarded.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
groupbyDataProviderIDsname

groupbyDataProviderIDs

dessIndentFor 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

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
heightname

height

dessIndentThe height of a selected part; specified in pixels. This height property is the lowerbound as its ending Y value (0 == top of the form).ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
pageBreakAfterOccurrencename

pageBreakAfterOccurrence

dessIndentA page break will be inserted after a specified number of occurences of a selected part.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
pageBreakBeforename

pageBreakBefore

dessIndentWhen set, a page break will be inserted before each occurrence of a selected part.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
restartPageNumbername

restartPageNumber

dessIndentWhen set, page numbering will be restarted after each occurrence of a selected part.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
sinkWhenLastname

sinkWhenLast

dessIndentWhen set, the last part on a page (such as a Trailing Grand Summary part) will "sink" to the lowest part of the page when there is free space.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
styleClassname

styleClass

dessIndentThe Cascading Style Sheet (CSS) class name applied to the part.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 

functionservoy sDetail2100%height:30px2Methods DetailsgetPartTypename

getPartType()

dessIndentThe type of this part.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow getPartYOffsetname

getPartYOffset()

dessIndentThe Y offset of the part on the form, this will include all the super forms parts if this form extends a form.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getUUIDname

getUUID()

dessIndentReturns the UUID of this component.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow