Hi Cyril, Le 24/11/2015 11:58, Ferlicot D. Cyril a écrit :
Le 18/11/2015 10:53, Ferlicot D. Cyril a écrit :
Hi everyone!
I just wanted to say that I added a first version of Tree in FastTable and I corrected some bugs.
If someone want to try it and give some feedback you can see some examples on the latest Pharo 5 in FTExamples class.
With Usman we also worked on the glamour version of FastTable begun by Esteban. You can see some examples of FastList, FastTable, FastOutlineList and FastTree in the GLMExamplesBrowser after executing this:
(ConfigurationOfFastTable project version: #stable) load: #glamour
Every feedback is welcome :)
Hi,
I took into account your feedback.
I corrected the broken examples.
I copied the Glamour package into glamour repository. I did not produced a new configuration yet.
Now the FastTree selection is updated when we collapse/extend an item. The selection of collapsed item is not saved because with the current implementation of FastTable that would be really complex. I think that if someone want to have a widget with this feature that should be a subclass of FTTreeDataSource and not a basic feature.
Agreed.
And I did some small changes.
Selection probably doesn't work very well: I got a DNU in updateSelectionWithCollectBlock: (running exampleTree1, and trying the select in subtree then collapse) In Morphic-Widgets-FastTable-CyrilFerlicot.133 (changing collectAsSet: by collect: gives the correct behavior on the selection). Thierry