I get an error when doing so: MessageNotUnderstood: Prestamo>>collect: doesNotUnderstand: #collect: MulticolumnLazyListMorph widthToDisplayItem: Leo On Tue, Jan 8, 2013 at 9:09 AM, Benjamin < benjamin.vanryseghem.pharo@gmail.com> wrote:
if your item is already a collection, and you want a column per item, just return it
wrap: item index: idx
^ item
Ben
On Jan 8, 2013, at 3:37 AM, J. P. L. MartÃn wrote:
Ok, extent worked for size, so the wrap question remains active :P
On Mon, Jan 7, 2013 at 11:35 PM, J. P. L. MartÃn <arguser@gmail.com>wrote:
If i have an OrderedCollection(a Prestamo id: '1' idMaterial: 'Book' idSocio: 'User' fechaPrestamo: 7 January 2013 fechaPrevistaDevolucion: 10 January 2013 fechaDevolucion: '') what would be a proper wrap for it if I want a column for each part of the colection? Also, what was the method that control size of the list?
Thanks a lot!
On Thu, Jan 3, 2013 at 11:18 AM, Benjamin < benjamin.vanryseghem.pharo@gmail.com> wrote:
Load the attached st file
and execute the following snippet:
(PluggableMultiColumnListMorph on: MyModelExample new list: #list selected: #selected changeSelected: #selected: menu: nil wrapSelector: #wrap:at:) openInWindow
If you have questions, do not hesitate :)
Ben
On Jan 3, 2013, at 2:25 PM, J. P. L. MartÃn wrote:
Someone could give me a little example on PluggableMultiColumnListMorph? Does it work with OrderedCollections?
Thanks in advance!