Widgets to present data in tabular form
Generic widget to present and manipulate data in a grid (tabular) form.
Adapted from turbogears.widgets.datagrid
Generic widget to present and manipulate data in a grid (tabular) form.
The columns to build the grid from are specified with fields ctor argument which is a list. Currently an element can be either a two-element tuple or instance of Column class. If tuple is used it a Column is then build out of it, first element is assumed to be a title and second element - field accessor.
You can specify columns’ data statically, via fields ctor parameter, or dynamically, by via ‘fields’ key.