Introduction and Overview
Html tables with associated pop-up dialogs can be built in FogBugz using the classes in the FogCreek.FogBugz.UI.EditableTable namespace. There are a number of reasons to use these classes when building your plugin's interface, not the least of which is the programming time savings they provide. They allow your interface to match the look and feel of the rest of FogBugz and avoid reinventing the wheel.
Editable tables usually make use of classes in these other namespaces, documented here: FogCreek.FogBugz.UI.CDialog and FogCreek.FogBugz.UI. For an example of an Editable table in action, see How To Create a FogBugz editable table.
The Classes
FogCreek.FogBugz.UI.EditableTable
CEditableTable
Properties:
Header- a collection of CEditableTableCells displayed at as the first row of the table and formatted appropriately
Footer- a collection of CEditableTableCells displayed at as the last row of the table and formatted appropriately
Body- an instance of the CEditableTableBody class:
Rows- a collection instances of the CEditableTableRow class:
Cells- CEditableTableCells
DialogTemplateCollection- contains the templates that have been added to the table with AddDialogTemplate()
RenderHtml
RenderXml- used to return the updated table data back to the page after a dialog post has caused an action has been performed