CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 How to change the PageSize dynamicly

Print topic Send  topic

Author Message
Torben Søemod
Posted: 04/14/2005, 6:05 AM

How do you change the PageSize dynamicly ?
My users would like to get semtime have the entire list in one big list instead of several pages - is there an easy way around ?
Nicole

Posts: 586
Posted: 04/14/2005, 6:36 AM

Torben,
You can set/change Page Size property in form Before Show event
$form_name->PageSize=25;

_________________
Regards,
Nicole
View profile  Send private message
DonB
Posted: 04/14/2005, 5:56 PM

You can alter it by providing a parameter on the URL address line. The
parameter name will be gridname + "PageSize". So

http://www.example.com/mypage.php?myGridPageSize=100

will set the grid "myGrid" to 100 rows.

It is then easy to incorporate a Link on the page that points to itself, and
supplies the page size parameter. When they click it, the page size
changes. Also, the Search Builder will implement this feature using a
Listbox so that several predetermined page sizes can be selected. The
listbox wll be named the same as the desired page size parameter
(myGridPageSize) and have a list of values data source.

--
DonB

http://www.gotodon.com/ccbth


<Torben Søemod@forum.codecharge (Torben Søemod)> wrote in message
news:5425e6a996f6ab@news.codecharge.com...
> How do you change the PageSize dynamicly ?
> My users would like to get semtime have the entire list in one big list
instead
> of several pages - is there an easy way around ?
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.