This content has been marked as final.
Show 3 replies
-
1. Re: getting selected row data from scrollableDatatable
ilya_shaikovsky May 15, 2008 9:18 AM (in response to kdcosta)what about using a4j:support instead of a button? read please our docs in order to get examples about requests sending on some JS events.
-
2. Re: getting selected row data from scrollableDatatable
bostone May 15, 2008 10:29 AM (in response to kdcosta)You can use a4j:support with event set to onRowClick. Said that I can't make it work - the action will only fire on empty row
-
3. Re: getting selected row data from scrollableDatatable
ilya_shaikovsky May 16, 2008 9:34 AM (in response to kdcosta)Did you lloked to livedemo? Have you seen the code to get selection?
I've maid only one modification right now by adding:<a4j:support event="onRowClick" value="Show Current Selection" reRender="table" action="#{dataTableScrollerBean.takeSelection}" oncomplete="#{rich:component('panel')}.show();"></a4j:support>
to the table component. And all still works. I'm clicking the row and popup appears.