Child pages
  • JSRenderEvent

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary

...

Table Cell (td)
JSRecord

...

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'
Divcache
styleindexdisplay:none

...

iddescription

...

padding0px
width80px

...

true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryReturns the record of the element that is being rendered.

...

Table Cell (td)
Number
Returns the record index of the element that is being rendered.

...

Table Cell (td)
Renderable

...

...

Returns the element that is being rendered.

...

Table Cell (td)
Boolean

...

Table Cell (td)
Boolean

...

Returns whether or not the element that is being rendered has focus.

...

Returns whatever or not the record of the element that is being rendered is selected.

...

function

...

servoy sDetail

...

padding0px
width100%

...

2100%height:30px

...

Table Head (th)
colspan1
Method Details

...

idgetRecord
Table Row (tr)
idname
Table Cell (td)
getRecord
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
JSRecord
Span
stylefont-weight: bold;
getRecord
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the record of the element that is being rendered.
This is null for elements of type form when they are in table view mode.

...

idret

...

classsIndent

...

2Methods DetailsgetRecordname

getRecord()

dessIndent
Returns the record of the element that is being rendered.
This is null for elements of type form when they are in table view mode.
ret

Returns

sIndent Record of the element that is being rendered
clients

...

idsam

...

classlastDetailRow

...

idgetRecordIndex
Table Row (tr)
idname
Table Cell (td)
getRecordIndex
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Number
Span
stylefont-weight: bold;
getRecordIndex
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the record index of the element that is being rendered.

...

idret

...

classsIndent

...

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

...

classsIndent

...

Code Block
languagejavascript
// type the record returned from the call with JSDoc, fill in the right server/tablename
/** @type {JSRecord<db:/servername/tablename>} */
var record = event.getRecord();

...

sIdentjavascriptlastDetailRowgetRecordIndexname

getRecordIndex()

dessIndent
Returns the record index of the element that is being rendered.
ret

Returns

sIndent record index of the element that is being rendered
clients

...

Supported Clients

sIndentSmartClient,WebClient
sam

...

Sample

...

classsIndent

...

Code Block
languagejavascript
event.getRecordIndex()

...

classlastDetailRow

...

idgetRenderable
Table Row (tr)
idname
Table Cell (td)
getRenderable
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Renderable
Span
stylefont-weight: bold;
getRenderable
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the element that is being rendered.

...

idret

...

classsIndent

...

sIdentjavascriptlastDetailRowgetRenderablename

getRenderable()

dessIndent
Returns the element that is being rendered.
ret

Returns

sIndent Renderable the element that is being rendered
clients

...

Supported Clients

sIndentSmartClient,WebClient
sam

...

Table Row (tr)
idname
Table Cell (td)
hasFocus
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Boolean
Span
stylefont-weight: bold;
hasFocus
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns whether or not the element that is being rendered has focus.

...

idret

...

classsIndent

...

Sample

...

classsIndent

...

Code Block
languagejavascript
event.getRenderable();

...

classlastDetailRow

...

idhasFocus

...

sIdentjavascriptlastDetailRowhasFocusname

hasFocus()

dessIndent
Returns whether or not the element that is being rendered has focus.
ret

Returns

sIndent true if the element that is being rendered has the focus, false otherwise
clients

...

idsam
Table Row (tr)
idname
Table Cell (td)
isRecordSelected
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Boolean
Span
stylefont-weight: bold;
isRecordSelected
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns whatever or not the record of the element that is being rendered is selected.

...

idret

...

classsIndent

...

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

...

classsIndent

...

Code Block
languagejavascript
event.hasFocus();

...

classlastDetailRow

...

idisRecordSelected

...

sIdentjavascriptlastDetailRowisRecordSelectedname

isRecordSelected()

dessIndent
Returns whatever or not the record of the element that is being rendered is selected.
ret

Returns

sIndent true if the record of the element that is being rendered is selected
clients

...

idsam

...

classlastDetailRow

...

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

...

classsIndent

...

Code Block
languagejavascript
event.isRecordSelected()
sIdentjavascriptlastDetailRow