Child pages
  • History

Versions Compared

Key

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

...

Cache

...

index

...

tablecolgroupcolcolspan2width100%col2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient
true
refreshid100d
classshowRefreshservoy sReturnTypestrue
id
doc
title
Refresh page
showDate
true
retry
Table Head (thead)
Table Row (tr)
style
Enable

servoy sReturnTypes2100%height: 30px;

Table Head (th)
colspan
Table Row (tr)
Table Cell (td)
Span
class
Span
class
Span
class
Span
class

 

 

servoy sSummary30%58%height: 30px;3Property Summary
idclass

HTML Table

Colgroup Tag
Col
width12%
Col
width
Col
width
Table Head (thead)
Table Row (tr)
style
Table Head (th)
colspan
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
buttonsEnabled
Table Cell (td)Set/Get the history buttons enabled.tableclass

id

Colgroup Tag Colwidthservoy sSummaryid12% Colwidth Colwidth30%58% Table Head (thead) Table Row (tr)styleheight: 30px; Table Head (th)colspan3Methods Summary Table Row (tr) Table Cell (td) Table Cell (td)void

Table Cell (td)
back()
Navigates back in the history stack; shows the previous form (if present). Table Row (tr) Table Cell (td) Table Cell (td)void
Table Cell (td)
clear()
Clear the entire history stack. Table Row (tr) Table Cell (td) Table Cell (td)void
Table Cell (td)
forward()
Navigates forward in the history stack; shows the next form (if present). Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
getCurrentIndex()
Table Cell (td) Table Cell (td)Get the current absolute index in the history stack. Table Row (tr)
Table Cell (td)
String
Table Cell (td)
getFormName(i)
Get the form name based on the specified absolute index in the history stack location. Table Row (tr) Table Cell (td) Table Cell (td)void
Table Cell (td)
go(i)
Table Cell (td)Navigates to the relative index based on current position in the history. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
removeForm(formName)
Removes the named form item from the history stack (and from memory) if not currently shown. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
removeIndex(index)
Table Cell (td) Table Cell (td)Removes an absolute index based history stack form item. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
size()
Returns the total size of the history stack. HTML Table

propertyclass Colgroup Tag Colcolspanservoy sDetailid2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px Table Head (th)colspan2Property Details Table Body (tbody)ididbuttonsEnabled Table Row (tr)name

Table Cell (td)

buttonsEnabled

Table Row (tr)id

des Table Cell (td) DivclassidsIndent
Set/Get the history buttons enabled.
Table Row (tr)tdretclass

Returns

Div Table Row (tr)idsIndentBooleantdclients

Supported Clients

Divclass

sIndentSmartClient,WebClient,NGClient Table Row (tr)idtdsamclass

Sample

DivsIdent Code Blocklanguage Table Row (tr)classjavascript
history.buttonsEnabled = true;
var status = history.buttonsEnabled;
lastDetailRow

Table Cell (td)
 
HTML Table

functionclass Colgroup Tag Colcolspanservoy sDetail2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px Table Head (th)colspan2Methods Details Table Body (tbody)ididback Table Row (tr)nametd

back()

Table Row (tr)id

des Table Cell (td) DivclasssIndent
Navigates back in the history stack; shows the previous form (if present).
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
Table Row (tr)
idret
td Table Row (tr)id

Returns

Div
classsIndent
void
clients

Table Cell (td)

Supported Clients

DivclasssIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idtdsam

Sample

div

classsIdent Code Blocklanguageclassjavascript

history.back();
Table Row (tr)idlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idcleartdname

clear()

tr

id Table Cell (td) Divclassdes Table Row (tr)idsIndent
Clear the entire history stack.
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
tdclients

Supported Clients

Divclass

sIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idsam

Table Cell (td)

Sample

Divclass Code BlocklanguagesIdent
history.clear();
Table Row (tr)classjavascriptidlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idforwardtdname

forward()

Table Row (tr)id Divclass

des Table Cell (td)sIndent
Navigates forward in the history stack; shows the next form (if present).
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
tr
idclients

Table Cell (td)

Supported Clients

Divclass

sIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idtdsam

Sample

Divclass Code Blocklanguage

sIdent

history.forward();
Table Row (tr)classjavascriptidlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idgetCurrentIndextdname

getCurrentIndex()

Table Row (tr)id Table Cell (td) Divclass

des Table Row (tr)idsIndent
Get the current absolute index in the history stack.
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
tdrettd

Returns

Div
classsIndent
Number
Table Row (tr)
idclients
sIndent the current absolute indexclients

Supported Clients

Divclass

sIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idsam

Table Cell (td)

Sample

div

classlanguagesIdent Code Block Table Row (tr)classjavascript

var abs_index = history.getCurrentIndex();
idlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idgetFormNamename

Table Cell (td)id

getFormName(i)

Table Row (tr)classdes Table Cell (td) DividsIndent
Get the form name based on the specified absolute index in the history stack location.
Table Row (tr)tdprsclass

Parameters

HTML Table
Table Cell (td)
Number
Table Cell (td)sIndent Table Cell (td)iidthe absolute index Table Row (tr)ret

Table Cell (td)td

Returns

Div
classsIndent
String
Table Row (tr)
idclients
sIndent the formNameclients

Supported Clients

Divclass

sIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idtdsam

Sample

Divclasslanguage

sIdent Code Block Table Row (tr)classjavascript

var name = history.getFormName(history.getCurrentIndex());
idlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idgotdname

go(i)

tr

idclassdes Table Cell (td) DividsIndent
Navigates to the relative index based on current position in the history.
Table Row (tr)prs

Table Cell (td)class

Parameters

HTML Table
Table Cell (td)
Number
Table Cell (td)sIndent Table Cell (td)i Table Row (tr)idthe relative index
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
clients

Table Cell (td)

Supported Clients

div

classsIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idsam

Table Cell (td)

Sample

Divclasslanguage

sIdent Code Block Table Row (tr)classjavascript

history.go(-3);
idlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idremoveFormname

Table Cell (td)id

removeForm(formName)

Table Row (tr)classdes Table Cell (td) DivsIndent
Removes the named form item from the history stack (and from memory) if not currently shown.
Will return false when the form can't be removed, this can happen in certain situations:
1> The form is visible,
2> The form is executing a function (is actively used),
3> There are references to this form by a global variable/array,
4> If the form has a separate foundset with edited records that can't be saved (for example autosave is false)
Table Row (tr)idtd
prs

Parameters

HTML Tableclass Table Cell (td)

sIndent

Table Cell (td)
String
Table Cell (td)formNamethe name of the form to remove. Table Row (tr)idtdret

Returns

Divclasstd

sIndentBoolean Table Row (tr)

idclients
true if successfulclients

Supported Clients

Divclass

sIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idsam

Table Cell (td)

Sample

div

classlanguagesIdent Code Block Table Row (tr)classjavascript

var done = history.removeForm('mypreviousform');
idlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idremoveIndextdname

removeIndex(index)

Table Row (tr)idclass

des Table Cell (td) DividsIndent
Removes an absolute index based history stack form item.
Table Row (tr)tdprs

Parameters

HTML Tableclass Table Cell (td)

sIndent

Table Cell (td)
Number
Table Cell (td)indexthe index of the form to remove. Table Row (tr)idtdret

Returns

div

classsIndent
Boolean Table Row (tr)idsIndent true if successfulclients

Table Cell (td)

Supported Clients

DivclasssIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idtdsam

Sample

Divclasslanguage

sIdent Code Block Table Row (tr)classjavascript

var done = history.removeIndex(history.getCurrentIndex()+1);
idlastDetailRow
Table Cell (td)
 
Table Body (tbody) Table Row (tr)idsizetdname

size()

tr

idclassdes Table Cell (td) DivsIndent
Returns the total size of the history stack.
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Tableclassid
sIndent  Table Row (tr)ret

Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idclients
tdsIndent the sizeclients

Supported Clients

DivclasssIndentSmartClient,WebClient,NGClient,MobileClient Table Row (tr)idtdsam

Sample

Divclasslanguage

sIdent Code Block Table Row (tr)classjavascript

var size = history.size();
lastDetailRow Table Cell (td)