I'm trying to show data that is non-homogenous, basically I have something like
public class Change { public string Column { get; set; } } public class Change<T> : Change { public T Before { get; set; } public T After { get; set; } }
where all my actual data is instances of Change<T> where T is e.g. string,int, DateTime
The grid alw***em to group by T wether I specify SpecifyRecordsByDataType="False" or not, but I want it all in the same grid.
Am I missing something or hitting a bug?
Currently using version 8.2
re censoring: Then your sensoring logic is busted as I wrote: "seem always" with the words the other way around.
I had already got this to work by wrapping the actual data items with viewmodels returning strings, but from a quick test the GroupByEvaluator thing also works. In the end I might need to go the viewmodel route anyway to fully control the presentation of the objects.
Hello,
I tried to reproduce the behavior that you are describing, but I am not sure what do you mean by "all in the same grid". Also, some text has been censored -- "The grid alw***em to group".
If you want the records to be grouped via custom group logic, you can create and apply a custom GroupByEvaluator for this. You will have to create a class and implement IGroupByEvaluator interface.
Hope this helps,
Alex.