I have a dataTable with a rowExpasion inside, i want to expand this based on rowSelection.
When the user clicks the row it expands that row, without the need of a <p:rowToggler/>
<p:dataTable var="foo" value="#{fooBean.foos}" lazy="true" selection="#{fooBean.foo}" selectionMode="single" rowExpandMode="single"
paginator="false" rows="10">
<p:ajax event="rowSelect" oncomplete="PF('rowExpansion').expand(?)" />
<p:column headerText="Value">
<h:outputText value="#{foo.value}" />
</p:column>
<p:rowExpansion>
sweetstuffinside
</p:rowExpansion>
</p:dataTable>
Also,i don't wan't to have the <p:rowToggler>
visible, if possible.