MichaelMcDonald
Posts: 640
|
Posted: 03/23/2013, 10:14 PM |
|
You can have a hidden field GridPage or GridPageSize on a search form and set the form or hidden field Before Show Event thus:
(remember t0 substitute "Grid" with your actual grid containername.)
$GridPage = (CCGetFromGet("GridPage"));
formname->GridPage->SetValue($GridPage);
This way it re-appends to the URL when the search button is pressed.
I think this might work as well:
$formname->GridPage->SetValue(CCGetFromGet("GridPage"));
I don't use the PageSize option in the navigator, I put links in a separate cell in the grid header.
This way the page size option doesn't travel to the bottom of the page when the grid is expanded.
I put links with href Text to display static =10, 25, 50 so on and the links href source / parameters is set like : Parameter Source 10, Parameter Name GridPageSize, type = Expression.
_________________
Central Coast, NSW, Australia.
|