I have a Grid set so that two fields are displayed. The first is a Bitmap that is generated by a Count property of the object that is bound.
The other is just some informational text.
I do not want to display a separate column for the count property but when a user clicks on the header for the Image, I want it sorted based on the count.
Is this possible? I thought I could perhaps overide the field in the sort expression by adding a SortChangingEventHandler, but when I add this event handler it is not getting called.
The other is just some informational text.
I do not want to display a separate column for the count property but when a user clicks on the header for the Image, I want it sorted based on the count.
Is this possible? I thought I could perhaps overide the field in the sort expression by adding a SortChangingEventHandler, but when I add this event handler it is not getting called.