Kaya 0.5.3 reference for HTMLDocument::lazyTable

List of functions and data types in HTMLDocument

ElementTree lazyTable(ElementTree parent, InitialTableData itd, String caption=createString(0))

Arguments

Usage

Creates a lazy table with the sections, rows, columns and cells described in the itd parameter - see the InitialTableData documentation for more details. Cells will be created as data cells by default, except for cells in the header section, which will be created as header cells.

This function differs from initialiseTable in that the contents of the table are only partially applied. They are generated only when the table is converted to a string, which saves a considerable amount of memory for large tables, but has the disadvantage that the contents may not be edited, and so may only consist of plain text.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya