Custom hierarchical cursors with the AdvancedDataGrid
· 2 min read
Yesterday, I was trying to write a custom hierarchical cursor class that implements the
IHierarchicalCollectionViewCursor
interface. But no matter what I tried, the
AdvancedDataGrid
would not recognise my
implemented cursor class as being hierarchical. When I extended the
HierarchicalCollectionViewCursor
class, the AdvancedDataGrid
would happily recognise it - even I overrode every single method and property... yet, as
soon as I switched the class to implement IHierarchicalCollectionViewCursor
instead of extending
HierarchicalCollectionViewCursor
the AdvancedDataGrid
would break again.