You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I have a request to mark a certain cell in some way. (For example show an overdue invoice date as red.) This seems not possible with the standard TableViewTextColumn, since we have no access to the underlying TextBlock/TextBox.
So the only way I see, is using the TableViewTemplateColumn for this purpose. (which works)
But the Template-Column can't be sorted or filtered.
I don't know why this is so. But it seems really easy to implement anyway.
I succeeded with making a TableViewTemplateColumnEX as a copy of TableViewTemplateColumn, but inherited from TableViewBoundColumn instead of TableViewColumn . Then I could write:
IMHO, having TemplateColumn sortable/filterable, should be default. We can always opt out by CanSort=False.
Also, getting rid of TableViewBoundColumn may simplify the code.
The text was updated successfully, but these errors were encountered:
Sometimes I have a request to mark a certain cell in some way. (For example show an overdue invoice date as red.) This seems not possible with the standard
TableViewTextColumn
, since we have no access to the underlyingTextBlock
/TextBox
.So the only way I see, is using the
TableViewTemplateColumn
for this purpose. (which works)But the Template-Column can't be sorted or filtered.
I don't know why this is so. But it seems really easy to implement anyway.
I succeeded with making a
TableViewTemplateColumnEX
as a copy ofTableViewTemplateColumn
, but inherited fromTableViewBoundColumn
instead ofTableViewColumn
. Then I could write:IMHO, having TemplateColumn sortable/filterable, should be default. We can always opt out by
CanSort=False
.Also, getting rid of
TableViewBoundColumn
may simplify the code.The text was updated successfully, but these errors were encountered: