Sometimes the best way to deliver clarity is to present data in table form. They’re concise and to the point, and so it’s entirely logical to have a table as element of Keynote.
And since tables are included in the iWork Suite shared by all iWork applications, the scripts you use to create a table in one application, are the same scripts used to create a table in one of the other iWork applications. Very handy indeed.
In general practice, the tables found in a Keynote presentation are usually of much simpler design than the ones found in Numbers or Pages. For that reason, refer to the Numbers documentation on this website for the detailed nitty-gritty concerning the manipulation of ranges, cells, columns, and rows. This section in the Keynote documentation will focus on the creation of tables with simpler design and data sets.
The Table Class
The table class, contained in the iWork Suite, is an element of a slide, which is an element of a document. A table contains cells, rows, columns, and ranges.
table n : A table in a sheet
elements
contains cells, columns, ranges, rows; contained by sheets.
properties
cell range ( range, r/o ) : The range describing every cell in the table.
column count ( integer ) : The number of columns in the table.
filtered ( boolean ) : Whether the table is currently filtered.
footer row count ( integer ) : The number of footer rows in the table.
header column count ( integer ) : The number of header columns in the table.
header row count ( integer ) : The number of header rows in the table.
name ( text ) : The table’s name.
row count ( integer ) : The number of rows in the table.
selection range ( range ) : The cells currently selected in the table.
responds to
delete, exists, make, sort
The properties cell range and selection range have values that are ranges of cells. The value of the cell range property is a range encompassing the entire table, while the value of the selection range property is a range defining the currently selected cells of the table.
NOTE: The table properties row count and column count are often used with the make command in the creation of a new table. The values of these properties for an existing table can be adjusted, however any reduction in the value of the row count or column count properties, must apply to only those rows or columns containing no data.