How to update data columns in columnGroup?

UI Components for JSF
Post Reply
ApollonSkill
Posts: 7
Joined: 19 Aug 2016, 10:25

18 Apr 2017, 18:22

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>

PrimeFaces 6.0.5 Elite, Layout omega 1.1.1.
Payara Server 163 (Based on GlassFish 4.1.1).
JSF 2.2.13(com.sun.faces).
Spring framework 4.3.1.RELEASE, Spring WebFlow 2.4.1.RELEASE, Spring Security 3.2.6.RELEASE.

raho
Posts: 27
Joined: 05 Feb 2016, 21:08

26 Oct 2017, 10:23

I have the same issue, so is there no solution so far or not supported?!
PF 12.0.4
WildFly 23.0.2.Final

pipefaxaf
Posts: 1
Joined: 29 Sep 2015, 21:50

18 Jan 2018, 21:31

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()" />

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 25 guests