Displaying Multipick inside Composite List

1 view
Skip to first unread message

Pagliaso

unread,
Dec 1, 2009, 9:43:06 AM12/1/09
to jmatter
Dear Eitan,

I hope everything is going well with you and Jmatter.

I'm trying to build a Composite List of LineItems inside a Cart for
example.

One of the fields of LineItem is iva, and I would like to show it as a
Multipick List inside the composite table.
The problem is that If I try to do this, iva doesn't appedar in the
table at all:

protected final StringEO iva = new StringEO("00%") {
@Override
public AtomicEditor getEditor()
{
return vmech().getMultiPickEditor(new String[] {"00%",
"16%",
"04%", "07%", "09%", "17%", "19%"});
}
};

What am I doing wrong?

Thanks in advance for you help.

Alberto

Pagliaso

unread,
Dec 1, 2009, 10:48:14 AM12/1/09
to jmatter
Opss!

Please, disregard that. I was forgetting the getter method.

But I find that the height of the row doesn't expands properly to the
height of the multipick while in edit mode, appearing the multipick
dropdown box half cutten.

Is it possible to specify a width for the composite-table colums? or
having them expanding automatically to the content of the cell?

Thanks and regards.


Alberto
Reply all
Reply to author
Forward
0 new messages