Page 1 of 1

How to update data columns in columnGroup?

Posted: 18 Apr 2017, 18:22
by ApollonSkill
How to update data columns in columnGroup?
I want to update data in columns by ajax without refresh whole page, but data updates only when all page refreshing

I tried to update by columnGroup id, row id, column id, but it does not work.
Help me please. :(

Code: Select all


<p:ajax event="filter" update="colSum" />

<p:columnGroup id="colsum" type="footer">
        <p:row id="row">
             <p:column id="colSum" footerText="#{animalFeedFacade.calculateAllSumDaysForMonthPlan()}"  />
         </p:row>
</p:columnGroup>


Re: How to update data columns in columnGroup?

Posted: 26 Oct 2017, 10:23
by raho
I have the same issue, so is there no solution so far or not supported?!

Re: How to update data columns in columnGroup?

Posted: 18 Jan 2018, 21:31
by pipefaxaf
I was able to solve this using this outside of the table:

Code: Select all

<p:remoteCommand name="updateBrokerTable"
				update=":selectedBrokerform:brokerssecuritytable"></p:remoteCommand>
and inside the table

Code: Select all

<p:ajax event="filter" oncomplete="updateBrokerTable()" />