Class zwt.ui.table.CellRenderer
Extends
zwt.Object.
A cell renderer is used to render the content of the cells in a table. It is associated to a zwt.ui.table.Column to display all the cells in the column.
This default implementation simply serialize the table data into string values.
Defined in: CellRenderer.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Construct a cell renderer.
|
Method Attributes | Method Name and Description |
---|---|
getCellElement(zwt_ui_table_Table_table, object_value)
Return the rendered element that should be displayed in a cell.
|
Class Detail
zwt.ui.table.CellRenderer()
Construct a cell renderer.
Author: Jeremy KUHN.
Author: Jeremy KUHN.
- See:
- zwt.ui.table.Column
Method Detail
{Element}
getCellElement(zwt_ui_table_Table_table, object_value)
Return the rendered element that should be displayed in a cell.
- Parameters:
- {zwt.ui.table.Table} zwt_ui_table_Table_table
- The table object
- {Object} object_value
- The value to render
- Returns:
- The element to display in the cell