0

add combobox on listbox / grid from server side

asked 2016-05-10 14:31:38 +0800

alexamm gravatar image alexamm
15

Hi, i try to add a combobox on a listbox or a grid from composer (server side), but don't work, it looks like a textbox; it is a bug?

I try to add a two comboitem, but no show it. This is a listbox.

On a grid happen the same

The first was added in the zul, the second on run time (server side) and looks like a textbox :(

Here is te code:

zul:

<listbox id="lbxDetalle" autopaging="true" mold="paging" pageSize="10"  width="800px" height="400px" style="overflow:auto">
    <listhead>
        <listheader label="Generador"/>
        <listheader label="title" width="120px" />
        <listheader label="title" width="120px" />
        <listheader label="title" width="120px" />
        <listheader label="title" width="80px" />
    </listhead>
</listbox>

java:

Listitem li = new Listitem();
Combobox cmbFila = new Combobox();
Listcell lc = new Listcell();
Comboitem ci = new Comboitem();
ci.setLabel("DATO 01");
ci.setParent(cmbFila);
ci = new Comboitem();
ci.setLabel("DATO 02");
ci.setParent(cmbFila);
cmbFila.setParent(lc);
lc.setParent(li);
li.setParent(lbxDetalle);
delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2016-05-10 16:54:25 +0800

Darksu gravatar image Darksu
1991 1 4

Hello alexamm,

Can you please remove the style="overflow:auto" ?

Best Regards,

Darksu

link publish delete flag offensive edit

answered 2016-06-06 21:32:27 +0800

alexamm gravatar image alexamm
15

the same thing :(

link publish delete flag offensive edit

answered 2016-06-10 14:01:23 +0800

alexamm gravatar image alexamm
15

i resolve it :)

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
1 follower

RSS

Stats

Asked: 2016-05-10 14:31:38 +0800

Seen: 34 times

Last updated: Jun 10 '16

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