form number of row

thread: 2 messages  |  last: about 9 years ago  |  started: wednesday, october 7, 2009, 7:40 am pdt

#1  |  sbapi1 Italy
Wednesday, October 7, 2009, 7:40 AM PDT

hello everybody. My question is simple, how is possibile to set, for a form that list rows, a different number or rows. I know default is ten, I want to set a different value if is possibile. Thanks in advance.

#2  |  Vass Arpad (Szentegyháza, RO) Romania Qcodo Core Contributor
Wednesday, October 7, 2009, 8:53 AM PDT

Hello Pier,

you can set the “ItemsPerPage” attribute:

// Add Pagination (if desired)
$this->dtgArticles->Paginator = new QPaginator($this->dtgArticles);
$this->dtgArticles->ItemsPerPage = 20;


Copyright © 2005 - 2019, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.