0

Listbox with annotation on listitem and group

asked 2009-03-07 00:18:05 +0800

madruga0315 gravatar image madruga0315 flag of Brazil
937 2 12

Hello guys,

Today I was thinking if is possible to have an listbox with group and listitem annotated.

But I guess that is not possible, right?

Was thinking something like

<listbox model="some model">
    <listheader> ... </listheader>
    <group self="@{each=person}" groupBy="@{person.married}" label="@{person.married}"/>
    <listitem self="@{each=person}" value="@{person}">
        <listcell label="@{person.name}"/>
        ...
    </listitem>
</listbox>

then is this case the binding system would use reflection to group objects which have the same value of person.married
is this sample case would have two groups "true" and "false"

If this is possible in 3.6, can some zk master give me some directions on how to, please?

Regards,
Madruga

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-03-09 01:10:57 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Hi Madruga,

There is a component called Listgroup like Group in Grid.
So far, it is not supported yet by annotated, and still remains in Feature Request you mentioned.
Please follow the feature request.

Thanks,
Jumper

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-03-07 00:18:05 +0800

Seen: 207 times

Last updated: Mar 09 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More