HTMLDocument::lazyTable(3) Create a lazy table

SYNOPSIS

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

ARGUMENTS

parent The parent element

itd The HTMLDocument.InitialTableData(3kaya)

caption Optionally, a caption for the table

DESCRIPTION

Creates a lazy table with the sections, rows, columns and cells described in the itd parameter - see the HTMLDocument.InitialTableData(3kaya) 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.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

HTMLDocument.InitialTableData(3kaya)

HTMLDocument.addTable(3kaya)

HTMLDocument.initialiseTable(3kaya)

HTMLDocument.setTableCaption(3kaya)