Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-707

ListModel/TreeModel selection cannot share in two component

XMLWordPrintable

      For example,

      <zk>
          <zscript><![CDATA[
      String[] data = new String[10];
      for (int i = 0; i < data.length; i++)
      	data[i] = "option " + i;
      
      
      ListModelList model = new ListModelList(data);
          ]]></zscript>
          <listbox id="grid" model="${model}" onSelect="">
          	<listhead><listheader label="column" sort="auto"/></listhead>
          </listbox>
          
          <listbox id="grid2" model="${model}" onSelect="">
          	<listhead><listheader label="column" sort="auto"/></listhead>
          </listbox>
      </zk>
      

      Please select one item on the top list, and then select different item on the bottom list.
      The selection of the two list should be the same if the model is the same.

            jumperchen jumperchen
            jumperchen jumperchen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: