Hello everyone,
if I bind two grids on the same data I get very strange and inconsitent
behaviour with selections.
I'm using OL 4.3 and my dev box is running flash9 on firefox for linux.
Firstly I'm not allowed to select the same row in both grids and after
trying, the behaviour is even more bizarre. It's hardly explainable,
please try it out and let me know if this is a known issue/feature/bug
because I wasn't able to find anything about it.
Thanks a lot for your support,
M.


This is the example code which is actually a small augmentation of the
example on the OL reference page:

<canvas debug="true">
  <dataset name="contacts" request="true"
   src="http://www.openlaszlo.org/lps/demos/contacts/contactsdata.xml"/>
   <simplelayout axis="y"/>
   <grid datapath="contacts:/resultset" id="g1">
     <gridcolumn showheader="false" width="50">
       <view bgcolor="#CCCCCC" width="${parent.width}"
placement="header" height="${parent.immediateparent.height-1}"/>
       <text datapath="position()"/>
     </gridcolumn>
     <gridcolumn width="200"> Name
       <text datapath="@displayname" resize="false"/>
     </gridcolumn>
   </grid>
   <grid datapath="contacts:/resultset" id="g2">
     <gridcolumn showheader="false" width="50">
       <view bgcolor="#CCCCCC" width="${parent.width}"
placement="header" height="${parent.immediateparent.height-1}"/>
       <text datapath="position()"/>
     </gridcolumn>
     <gridcolumn width="200"> Name
       <text datapath="@displayname" resize="false"/>
     </gridcolumn>
   </grid>
</canvas>

-- 
DcorE

Reply via email to