After reimplementing mapFromSource and mapToSource in my abstractProxy, I noticed mapFromSource is never called implicitly (even in the transpose example). What is the purpose of this method(mapFromSource) if it is never implicitly called by the views/models? I was thinking this was the method I needed to implement in order to accomplish a different view of the data.
Here's my problem, my data is virtually flat with metadata describing a hierarchy:
item1
item2
item3
item4 [parent: item3]
item5 [parent: item4]
In my treeview I'd like it displayed:
item1
item2
item3
----item4
---------item5
Would mapTo handle this alteration? If so what is mapFrom for? Or do I have to permanently alter the actual data structure to show the hierarchy?
TYVM,
BB
Bookmarks