Package zephir :: Package monitor :: Package agentmanager :: Module data :: Class TableData
[frames | no frames]

Class TableData

AgentDataChunk --+
                 |
                TableData


Table de valeurs
Method Summary
  __init__(self, columns_format, table_data)

Method Details

__init__(self, columns_format, table_data=None)
(Constructor)

Parameters:
columns_format - a list of (key, title, attributes, formatter) tuples, one for each column in table_data, where:
  • attributes is a {attr:value} dict which describes HTML attributes of the corresponding table cell
  • formatter is a function returning a string to display the value in the cell; you will probably have to define a real function instead of using lambda.
table_data - a list of {key:value} dicts (one dict per row, one key per column)

Generated by Epydoc 2.1 on Mon Nov 27 08:44:02 2006 http://epydoc.sf.net