Dataview
The object represents a data sheet.
|
actionenable |
|
|
Description |
Activate or deactivate the action button on the data tab. |
|
Type Value |
boolean |
|
Format |
boolean = dataview.actionenable |
|
Typology |
Proprietà |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
backcolorvalue |
|
|
Description |
Set the background color of a specific field on the data sheet. |
|
Type Value |
|
|
Format |
dataview.backcolorvalue(fieldname, color) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
color |
integer |
The color in full format to be applied to the field. |
|
fieldname |
string |
The name of the field to which to apply the color. |
|
Examples |
|
dataview.backcolorvalue(`name`,-65536) |
|
captionsave |
|
|
Description |
Change the label of the save button. |
|
Type Value |
|
|
Format |
dataview.captionsave(value) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
value |
string |
The value to be displayed as a label on the save button. |
|
Examples |
|
dataview.captionsave(`Save now!`) |
|
captionvalue |
|
|
Description |
Modify the label of a specific field on the data sheet. |
|
Type Value |
|
|
Format |
dataview.captionvalue(fieldname, value) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
fieldname |
string |
The name of the field to which the label is to be modified. |
|
value |
string |
The value of the label to be set. |
|
Examples |
|
dataview.captionvalue(`name`,`Change name customer`) |
|
createdocument |
|
|
Description |
Creates a document type object |
|
Type Value |
document |
|
Format |
document = dataview.createdocument(gguidprinter) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
gguidprinter |
string |
The unique identifier of the print that will be used to create the document. |
|
Examples |
|
print = dataview.createdocument(`YYY-YYY`) |
|
disableediting |
|
|
Description |
Disable all editing of fields and additional tables on the data tab. |
|
Type Value |
|
|
Format |
dataview.disableediting() |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Examples |
|
dataview.disableediting() |
|
enablevalue |
|
|
Description |
Enable or disable editing a value by bypassing user permission checks. |
|
Type Value |
|
|
Format |
dataview.enablevalue(fieldname, enabled) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
enabled |
boolean |
The value to identify whether the field should be enabled or not. |
|
fieldname |
string |
The name of the field to activate or deactivate. |
|
Examples |
|
dataview.enablevalue(`name`,true) |
|
forecolorvalue |
|
|
Description |
Set the text color value for a specific field on the data sheet. |
|
Type Value |
|
|
Format |
dataview.forecolorvalue(fieldname, color) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
color |
integer |
The color in full format to be applied to the field. |
|
fieldname |
string |
The name of the field to which to apply the text color. |
|
Examples |
|
dataview.forecolorvalue(`name`,-65536) |
|
getatable |
|
|
Description |
Retrieve an additional table present in the data tab. |
|
Type Value |
tableview |
|
Format |
tableview = dataview.getatable(tablename) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
tablename |
string |
The name of the table to retrieve among those present in the tab. |
|
Examples |
|
rows = dataview.getatable(`orders_rows`) |
|
getvalue |
|
|
Description |
Retrieve the value of a field present or hidden on the data sheet. |
|
Type Value |
object |
|
Format |
object = dataview.getvalue(fieldname) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
fieldname |
string |
The name of the field from which to retrieve the value. |
|
Examples |
|
value = dataview.getvalue(`name`) |
|
gguid |
|
|
Description |
The unique identifier of the record currently loaded in the data sheet. |
|
Type Value |
string |
|
Format |
string = dataview.gguid() |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Examples |
|
id = dataview.gguid() |
|
hideallocator |
|
|
Description |
dei filtri It hides the tab containing the value apportionment calculation table if filters have been set. |
|
Type Value |
|
|
Format |
dataview.hideallocator() |