Hallo! Can anybody tell me how to get an Javascript-Object of a ScrollableDataTable-Component. If I try following
alert(#{rich:component('viewgrid')}) --------- <rich:scrollableDataTable id="viewgrid" rowKeyVar="rkv" frozenColCount="1" height="200px" width="99%" rows="30" var="row" value="#{backingBean.model}" selection="#{backingBean.selection}" binding="#{backingBean.tableComponent}" sortMode="single"> </rich:scrollableDataTable>
I found it:
window.Richfaces_ScrollableGrid_form_viewgrid