Page History
...
Cache |
---|
...
| ||||||||||||||||||||||||
| colgroup
| col
| colspan
| 2
| width
| 100%
| col
| thead
| ||||||||||||||||
Table Row (tr) | style |
| ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Table Head (th) | | colspan | ||||||||||||||||||||||
Table Row (tr) | ||||||||||||||||||||||||
Table Cell (td) | ||||||||||||||||||||||||
Span | class | |||||||||||||||||||||||
Span | class | |||||||||||||||||||||||
Span | class | |||||||||||||||||||||||
Span | class |
id | class | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HTML Table | ||||||||||||||||||||
Colgroup Tag | Col | | width | 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 |
...
HTML Table | ||
---|---|---|
id | class |
...
Colgroup Tag | Col | | width | Col | | width | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Col | width | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table Head (thead) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table Row (tr) | style | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table Head (th) | colspan | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table Row (tr) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table Cell (td) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table Cell (td) |
Table Cell (td) |
---|
back() |
Table Cell (td) |
---|
clear() |
Table Cell (td) |
---|
forward() |
Table Cell (td) |
---|
Number |
Table Cell (td) |
---|
getCurrentIndex() |
Table Cell (td) |
---|
String |
Table Cell (td) |
---|
getFormName(i) |
Table Cell (td) |
---|
go(i) |
Table Cell (td) |
---|
Boolean |
Table Cell (td) |
---|
removeForm(formName) |
Table Cell (td) |
---|
Boolean |
Table Cell (td) |
---|
removeIndex(index) |
Table Cell (td) |
---|
Number |
Table Cell (td) |
---|
size() |
id | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HTML Table | |||||||||||||||||||||||
class | Colgroup Tag | Col | | colspan | |||||||||||||||||||
HTML Table | |||||||||||||||||||||||
id | width |
Col |
---|
buttonsEnabled
Set/Get the history buttons enabled.
Returns
Supported Clients
Sample
history.buttonsEnabled = true;
var status = history.buttonsEnabled;
class | Colgroup Tag | Col | | colspan | width |
---|
Col |
---|
back()
Navigates back in the history stack; shows the previous form (if present).
id | prs |
---|
Table Cell (td) | |||||
---|---|---|---|---|---|
Parameters
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Supported Clients
Sample
history.back();
Table Cell (td) |
---|
|
clear()
Clear the entire history stack.
id | prs |
---|
Parameters
tableclass | sIndent |
---|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Supported Clients
Sample
history.clear();
Table Cell (td) |
---|
|
forward()
Navigates forward in the history stack; shows the next form (if present).
Table Cell (td) | |||||
---|---|---|---|---|---|
Parameters
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Supported Clients
Sample
history.forward();
Table Cell (td) |
---|
|
getCurrentIndex()
Get the current absolute index in the history stack.
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Returns
Div | ||
---|---|---|
| ||
Number |
id | clients |
---|
Supported Clients
Sample
var abs_index = history.getCurrentIndex();
Table Cell (td) |
---|
|
getFormName(i)
Get the form name based on the specified absolute index in the history stack location.
Parameters
Table Cell (td) |
---|
Number |
Returns
class | sIndent |
---|
id | clients |
---|
Supported Clients
Sample
var name = history.getFormName(history.getCurrentIndex());
Table Cell (td) |
---|
|
go(i)
Navigates to the relative index based on current position in the history.
Parameters
Table Cell (td) |
---|
Number |
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Supported Clients
Sample
history.go(-3);
Table Cell (td) |
---|
|
removeForm(formName)
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)
Parameters
Table Cell (td) |
---|
String |
Returns
id | clients |
---|
Supported Clients
Sample
var done = history.removeForm('mypreviousform');
Table Cell (td) |
---|
|
removeIndex(index)
Removes an absolute index based history stack form item.
Parameters
Table Cell (td) |
---|
Number |
Returns
Div | ||
---|---|---|
| ||
Boolean |
id | clients |
---|
Supported Clients
Sample
var done = history.removeIndex(history.getCurrentIndex()+1);
Table Cell (td) |
---|
|
size()
Returns the total size of the history stack.
id | prs |
---|
Table Cell (td) | |||||
---|---|---|---|---|---|
Parameters
|
Returns
Div | ||
---|---|---|
| ||
Number |
id | clients |
---|
Supported Clients
Sample
var size = history.size();
Overview
Content Tools
Activity