hi,
i have some issues in getting the selected row from the richfaces scrollable datatable.
can any body tell me when the selection event on richfaces table occurs.
in my code the selection event will be called only when we scroll table. why so can anybody explain me.
<rich:scrollableDataTable value="#{seamtablebean.userList}" var="user" id="list" binding="#{seamtablebean.dataUiData}" rows="5" height="100px" selection="#{seamtablebean.selection}" onselectionchange="javascript:sayHello()" rowKeyVar="rkv" frozenColCount="1" sortMode="single"> </rich:scrollableDataTable>
The selection event occurs when the h:form in which the rich:scrollableDataTable is placed is submitted. You may follow up with the simple example given on the Live Demo.