made the columns in the search and scratchpad windows sortable

This commit is contained in:
fgerlits 2007-02-09 16:00:16 +00:00
parent be56bbd453
commit fded40b175
1 changed files with 7 additions and 1 deletions

View File

@ -109,6 +109,8 @@ ZebraTreeView :: appendColumn(
viewColumn->set_min_width(minimumWidth);
}
viewColumn->set_sort_column(modelColumn);
return append_column(*viewColumn);
}
@ -238,6 +240,8 @@ ZebraTreeView :: appendCenteredColumn(
viewColumn->set_min_width(minimumWidth);
}
viewColumn->set_sort_column(modelColumn);
return append_column(*viewColumn);
}
@ -310,7 +314,7 @@ ZebraTreeView :: lineNumberCellDataFunction(
/*------------------------------------------------------------------------------
* Add a centered text column to the TreeView.
* Add an editable centered text column to the TreeView.
*----------------------------------------------------------------------------*/
int
ZebraTreeView :: appendEditableColumn(
@ -349,6 +353,8 @@ ZebraTreeView :: appendEditableColumn(
viewColumn->set_min_width(minimumWidth);
}
viewColumn->set_sort_column(modelColumn);
return append_column(*viewColumn);
}