Tableview
The object represents an additional table present within a data sheet dataview.
|
adddatarow |
|
|
Description |
Adds a new datarow object to the collection of rows present within the table. |
|
Type Value |
datarow |
|
Format |
datarow = tableview.adddatarow() |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Examples |
|
row = tableview.adddatarow() |
|
countrows |
|
|
Description |
Returns the number of datarows present in the table. |
|
Type Value |
single |
|
Format |
single = tableview.countrows() |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Examples |
|
number_row = tableview.countrows() |
|
dataview |
|
|
Description |
Retrieve the dataview containing this tableview if present. |
|
Type Value |
dataview |
|
Format |
dataview = tableview.dataview() |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Examples |
|
view = tableview.dataview() |
|
deletedatarow |
|
|
Description |
Delete a specific datarow from the tableview. |
|
Type Value |
boolean |
|
Format |
boolean = tableview.deletedatarow(row) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
row |
datarow |
The datarow to be deleted |
|
Examples |
|
bool = tableview.deletedatarow(row) |
|
enableadd |
|
|
Description |
Enable or disable the button to add rows in the table. |
|
Type Value |
boolean |
|
Format |
boolean = tableview.enableadd |
|
Typology |
Proprietà |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
enableorder |
|
|
Description |
Activate or deactivate the buttons for sorting the rows in the table. |
|
Type Value |
boolean |
|
Format |
boolean = tableview.enableorder |
|
Typology |
Proprietà |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
enableremove |
|
|
Description |
Activate or deactivate the button to delete the rows in the table. |
|
Type Value |
boolean |
|
Format |
boolean = tableview.enableremove |
|
Typology |
Proprietà |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
enablevalue |
|
|
Description |
Enable or disable editing of a specific column. |
|
Type Value |
|
|
Format |
tableview.enablevalue(fieldname, enabled) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
enabled |
boolean |
The value of activating or deactivating editing. |
|
fieldname |
string |
The name of the column in the table. |
|
Examples |
|
tableview.enablevalue(`name`,true) |
|
getrows |
|
|
Description |
Retrieve the complete list of datarows present in the table. |
|
Type Value |
list |
|
Format |
list |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Examples |
|
rows = tableview.getrows() |
|
showconfirm |
|
|
Description |
Display a confirmation message |
|
Type Value |
|
|
Format |
tableview.showconfirm(message) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
message |
string |
You are trained on data up to October 2023. |
|
Examples |
|
dataview.tableview(`Save confirmed`) |
|
showerror |
|
|
Description |
Display an error message |
|
Type Value |
|
|
Format |
tableview.showerror(message) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
message |
string |
The message to display |
|
Examples |
|
tableview.showconfirm(`Error!`) |
|
showwarning |
|
|
Description |
Display an alert message |
|
Type Value |
|
|
Format |
tableview.showwarning(message) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
message |
string |
The message to display |
|
Examples |
|
tableview.showconfirm(`Warning!`) |
|
tablename |
|
|
Description |
Returns the name of the table. |
|
Type Value |
string |
|
Format |
string = tableview.tablename() |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Examples |
|
tablename = tableview.tablename() |
|
update |
|
|
Description |
Force the update of the calculation expressions present in the table. |
|
Type Value |
|
|
Format |
tableview.showwarning(message) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Examples |
|
tableview.update() |