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 |
 |
 |
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/
>
|
|
|
 |
|