added support for hidden columns

This commit is contained in:
Peter Schojer
2008-07-08 12:43:07 +00:00
parent 795601ec64
commit 693db42cee
3 changed files with 23 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ TableColumn::TableColumn(Cell::Ptr pCellFormat):
View(typeid(TableColumn)),
_pCell(pCellFormat),
_sortable(false),
_hidden(false),
_header()
{
if (_pCell)
@@ -56,6 +57,7 @@ TableColumn::TableColumn(Cell::Ptr pCellFormat, const std::string& name, int wid
View(typeid(TableColumn)),
_pCell(pCellFormat),
_sortable(sortable),
_hidden(false),
_header(name)
{
setWidth(width);