I know this reply is too late but I've just saw your post today and I hope that my reply will help.
You need only to do the following
change
<h:outputText id="out3" value="#{var2.value}"/> in the second dataTable to
<h:outputText id="out3"
value="#{var2.value[collectionBean.dataTable2.rowIndex]}"/>