Hi,
When I try to use MAOneToManyComponentEditInPlace as described above I
get a DNU for fieldSize in
MAEditableColumnAutoCompleting>>visitDescription:
Is this normal? (I am using the latest versions of Magritte,
Magritte-Scriptaculous and Magritte-RealMemento).
Thanks in advance,
Nicolás
2008/7/15 Keith Hodges <keith_hodges(a)yahoo.co.uk>uk>:
Esteban Lorenzano wrote:
Hi,
I'm trying to use MAOneToManyComponentEditInPlace, and can't realize
how it is supposed to work... what I want to do is add rows and edit
them "InPlace"... now I can add new rows, but empty ones. Is possible
to edit them? how?
Thanks in advance,
Esteban
You need to specify #reportColumnClass
Keith
e.g.
description0060DriverName
^ MAStringDescription new
accessor: ((#driverName asAccessor) options: #driverNamesAvailable);
label: 'Driver';
fieldSize: 3; "just in case"
componentClass: MAAutoCompletingTextInputComponent;
beEditable;
reportColumnClass: MAEditableColumnAutoCompleting;
beSearchable;
bePersisted;
yourself
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki