-
1. <rich:dataGrid accessing the element content
ilya_shaikovsky Mar 30, 2011 5:09 AM (in response to anonyin)because it's really row click and not element click. In order to implement element click you should use something like:
<rich:dataGrid value="#{dataTableScrollerBean.allCars}" var="car" columns="3" elements="9" width="600px">
<rich:panel bodyClass="pbody">
<f:facet name="header">
<h:outputText value="#{car.make} #{car.model}"></h:outputText>
</f:facet>
<h:panelGrid columns="2" onclick="alert(#{car.price})">
(define the event at content container)
-
2. <rich:dataGrid accessing the element content
ilya_shaikovsky Mar 30, 2011 5:12 AM (in response to ilya_shaikovsky)b.t.w. thanks! reviewing hwo it works in 4.x found that not implemented and tracked in jira. RF-10827
-
3. <rich:dataGrid accessing the element content
anonyin Mar 30, 2011 2:10 PM (in response to ilya_shaikovsky)No issues, Thanks Ilya that explanation helped.
Kiran.