A Widget for displaying tabular data. The base implementation of DataTable provides the ability to dynamically generate an HTML table from a set of column configurations and row data.
Two classes are included in the datatable-base
module: Y.DataTable
and
Y.DataTable.Base
.
This module provides the following classes:
This module is a rollup of the following modules:
datatable-base
module: Y.DataTable
and
Y.DataTable.Base
.
<tbody>
section of a table. Used as
the default bodyView
for Y.DataTable.Base
and Y.DataTable
classes.
width
and method table.setColumnWidth(id, width);
.
DataTable
and DataTable.Base
Widgets.
<tfoot>
section of a table. Can be
used as the default footerView
for Y.DataTable.Base
and Y.DataTable
classes.
<thead>
section of a table. Used as
the default headerView
for Y.DataTable.Base
and Y.DataTable
classes.
table.addRow(data)
to Y.DataTable
. (or other built class).
table.sort(...)
or
table.toggleSort(...)
or by clicking on column headers in the rendered UI.
<table>
from provided data. Used as
the default view
for Y.DataTable.Base
and Y.DataTable
classes.