Or the 'inPlace' parameter on true in the Grid component
(http://tapestry.apache.org/5.3.7/apidocs/org/apache/tapestry5/corelib/components/Grid.html)
On 23/03/16 16:37, Nathan Quirynen wrote:
Did you set the zone that is surrounding your grid as the 'zone'
parameter on the GridPager component?
http://tapestry.apache.org/5.3.7/apidocs/org/apache/tapestry5/corelib/components/GridPager.html
On 23/03/16 15:34, john c wrote:
We have a big form which does a tonne of data loading from databases
and legacy systems. Now we want to add this small grid at the top
with paging. Clicking a paging button will trigger a page refresh and
the whole form to reload the data again in addition to the grid
data. Obviously we don't want this to happen.
Is it possible to to fire an Ajax event and refresh the zone around
the grid? I cannot find an example. We are using 5.3.6.
John.
I have added rowsPerPage to add paging to a Tapestry Grid (that has a
surrounding zone). When paging buttons are pressed it hits
setupRender(). Is there a flag we can check to tell that a paging
button
was just clicked?
No. Why do you need that?
Second, can it call a separate Tapestry event instead of it calling
setupRender() ?
setupRender is invoked when the component or page is about to be
rendered.
It's not actually directly related to Grid at all.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org