TableObject
[Desktop Automation]
The table object is a GUI object that represents data in a column-row grid. It is created using the addtable method of a GUI container (e.g. Dialog).
Properties
| Property | Read/write | Type | Description |
|---|---|---|---|
| columncount | Read/write | number | Get the number of columns of the table |
| fixedcolumncount | Read/write | number | Get the number of fixed (headline) columns of the table |
| fixedrowcount | Read/write | number | Get the number of fixed (headline) rows of the table |
| height | Read/write | number | Get the height of the table |
| ondoubleclick | Read/write | String | Lua callback method for doubleclick event |
| rowcount | Read/write | number | Get the number of rows of the table |
| translateheadline | Read/write | Boolean | See whether the headlines are translated automatically |
Methods
| Name | Syntax | Description |
|---|---|---|
| getcelltext | Table:getcelltext(column: integer; row: integer); | Retrieve the text of a table cell |
| setcelltext | Table:setcelltext(column: integer; row: integer; text: string); | Modify the text of a table cell |
| setcolumnwidth | Table:setcolumnwidth(column: integer; width: integer); | Modify the width of a column of the table |
