-
1. Re: extendedDataTable sortBy grouppingByColumn
ilya_shaikovsky Dec 11, 2009 11:35 AM (in response to johnbesel)I'm afraid that this could be done only by turning off the default menu and implement it on your own. As the table do not provide sortEvent - no way to register custom listener.
-
2. Re: extendedDataTable sortBy grouppingByColumn
johnbesel Dec 11, 2009 11:53 AM (in response to johnbesel)thank Ilja,
I tried to do following:
<rich:column id="Hersteller" binding="#{personenBBean.hersteller}" filterBy="#{car.carmaker}" filterEvent="onkeyup">
<f:facet name="header">
<h:outputText value="Hersteller" />
<a:support event="onRowClick" action="#{personenBBean.groupByHersteller}" reRender="sampleData"/>
</f:facet>
<h:outputText value="#{car.carmaker}" />
</rich:column>
but if I click on header in GUI, the application dont go into personenBBean.groupByHersteller.
I wanted to set groupByColumn in this method.
Do you have the idea why???
Can implement my own sortmethod?
in documentation stay, that sortExpression is only implemented for ScrollableDataTable. -
3. Re: extendedDataTable sortBy grouppingByColumn
ilya_shaikovsky Dec 14, 2009 2:30 AM (in response to johnbesel)try to change
event="onRowClick"
with just
event="onclick"