1HTMLDocument.InitialTableData(K3akyaayam)odule reHfTeMrLeDnocceument.InitialTableData(3kaya)
2
3
4

NAME

6       HTMLDocument::InitialTableData - Initial table data
7

SYNOPSIS

9       HTMLDocument::InitialTableData< >
10
11
12     =  InitialTableData([[String]] header,[[String]] footer,[[[String]]] sec‐
13     tions)
14

DESCRIPTION

16       Initial table data. This allows  quick  initialisation  of  unformatted
17       HTML  tables.  Required  formatting  can  then be added using the usual
18       methods by retrieving references to the individual table cells.
19
20       The table data consists of a header section (which  may  be  empty),  a
21       footer  section  (which  may be empty), and a list of body sections (of
22       which at least one must exist). All sections have the same format  -  a
23       list of rows each of which is a list of cells.
24
25       It  is  assumed  that  all  rows have the same number of columns as the
26       first row in the table, and cells overrunning this row length  will  be
27       ignored.
28
29
30    header = [["Version","Date"]];
31    footer = [];
32    body                                                                     =
33   [[["0.2.1","2006-11-15"],["0.2.2","2006-11-26"],["0.2.3","2006-12-04"]]];
34    itd = InitialTableData(header,footer,body);
35
36       This will generate the following table
37
38
39    <table>
40     <thead>
41      <tr><th>Version</th><th>Date</th></tr>
42     </thead>
43     <tbody>
44      <tr><td>0.2.1</td><td>2006-11-15</td></tr>
45      <tr><td>0.2.2</td><td>2006-11-26</td></tr>
46      <tr><td>0.2.3</td><td>2006-12-04</td></tr>
47     </tbody>
48    </table>
49

AUTHORS

51       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
52       (kaya@kayalang.org). For further information see http://kayalang.org/
53

LICENSE

55       The  Kaya  standard  library  is free software; you can redistribute it
56       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
57       License  (version  2.1  or  any later version) as published by the Free
58       Software Foundation.
59
61       HTMLDocument.addTable (3kaya)
62       HTMLDocument.getTableCell (3kaya)
63       HTMLDocument.initialiseTable (3kaya)
64       HTMLDocument.lazyTable (3kaya)
65
66
67
68Kaya                             December 2H0T1M0LDocument.InitialTableData(3kaya)
Impressum