Noncontiguous selections in FastTable?
Any way to get noncontiguous selection working in FTTableMorph in Pharo 5? In Windows I cannot get two non-consecutive items to be selected. Ctrl key causes menu to appear. Shift key only allows consecutive items. See for example this FastTable: | ds | ds := FTTreeDataSource roots: (1 to: 1000) children: [ :data :item | item depth even ifTrue: [ 1 to: data / 2 ] ifFalse: [ 1 to: data - 1 ] ]. FTTableMorph new extent: 200 @ 400; dataSource: ds; allowDeselection; beMultipleSelection; secondarySelectionColor: Color tan; openInWindow. Any help will be appreciated. Cheers, Hernán
I fixed it in Pharo 6. Look at issue 19277 <https://pharo.fogbugz.com/f/cases/19277/FastTable-not-support-deselection-wh...> . Maybe you can just load updated packages for FastTable to fix your problem. 2017-05-20 22:41 GMT+02:00 Hernán Morales Durand <hernan.morales@gmail.com>:
Any way to get noncontiguous selection working in FTTableMorph in Pharo 5?
In Windows I cannot get two non-consecutive items to be selected. Ctrl key causes menu to appear. Shift key only allows consecutive items.
See for example this FastTable:
| ds |
ds := FTTreeDataSource roots: (1 to: 1000) children: [ :data :item | item depth even ifTrue: [ 1 to: data / 2 ] ifFalse: [ 1 to: data - 1 ] ]. FTTableMorph new extent: 200 @ 400; dataSource: ds; allowDeselection; beMultipleSelection; secondarySelectionColor: Color tan; openInWindow.
Any help will be appreciated. Cheers,
Hernán
Thanks Denis, it worked although I had to Alt+right-button which is weird in Windows which commonly uses Ctrl+left button Just a note for Pharo 5 users this method raises MNU FTTableMorph class>>defaultBackgroundColor ^ Smalltalk ui theme listBackgroundColor and could be replaced with the previous version: FTTableMorph class>>defaultBackgroundColor ^ Smalltalk ui theme backgroundColor 2017-05-21 10:57 GMT-03:00 Denis Kudriashov <dionisiydk@gmail.com>:
I fixed it in Pharo 6. Look at issue 19277 <https://pharo.fogbugz.com/f/cases/19277/FastTable-not-support-deselection-wh...> . Maybe you can just load updated packages for FastTable to fix your problem.
2017-05-20 22:41 GMT+02:00 Hernán Morales Durand <hernan.morales@gmail.com
:
Any way to get noncontiguous selection working in FTTableMorph in Pharo 5?
In Windows I cannot get two non-consecutive items to be selected. Ctrl key causes menu to appear. Shift key only allows consecutive items.
See for example this FastTable:
| ds |
ds := FTTreeDataSource roots: (1 to: 1000) children: [ :data :item | item depth even ifTrue: [ 1 to: data / 2 ] ifFalse: [ 1 to: data - 1 ] ]. FTTableMorph new extent: 200 @ 400; dataSource: ds; allowDeselection; beMultipleSelection; secondarySelectionColor: Color tan; openInWindow.
Any help will be appreciated. Cheers,
Hernán
participants (2)
-
Denis Kudriashov -
Hernán Morales Durand