PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Structures » Structures_DataGrid » Bug #1024

it's rendering empty lines

Details

Submitted2004-03-16 21:29 UTC
Frommaka3d at yahoo dot com dot br
Assignedasnagy
StatusClosed
PackageStructures_DataGrid
PHP Version4.3.4
OSWinXP/FreeBSD
Roadmaps(Not assigned)

Comments

[2004-03-16 21:29 UTC] maka3d at yahoo dot com dot br

Description:
------------
If I have 5 records to display 4 per page, it's showing 4 at first page (right) but is showing 4 the second page where it should be 1.

[2004-03-16 23:17 UTC] asnagy at php dot net

Thank you for taking the time to write to us, but this is not
a bug.

This is expected. I have on my to-do list a switch to add to the HTML_Table renderer to render a full list of rows or not.

The idea came from:
http://www.aspheute.com/english/20030909.asp

[2004-03-17 04:00 UTC] asnagy at php dot net

Thank you for taking the time to write to us, but this is not
a bug.

Actually, this is alread complete. The HTMLTable renderer has a boolean value named "allowEmptyRows," if you set that to false, this will solve your problem.