Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.3

Bug #1025 SUGGESTION: use pager and data looper
Submitted: 2004-03-16 21:37 UTC
From: maka3d at yahoo dot com dot br Assigned: asnagy
Status: Closed Package: Structures_DataGrid
PHP Version: 4.3.4 OS: WinXP/FreeBSD
Roadmaps: (Not assigned)    

 [2004-03-16 21:37 UTC] maka3d at yahoo dot com dot br
Description: ------------ I see that you are "reinventing the wheel" in your code doing calculation for pagging that the package page already does. I think you should use PEAR page for this, so will be possible to have both page and sliding to walk through the pages! Other suggestion is that I have to add One by one row to the datagrid doing so two loops to get what I want. Would be nice if you have drives to loop over the most commom data types like array, mysql_result, DB, MDB...etc.. I can give you a hand for this if you think it's fine :)


 [2004-05-04 01:38 UTC] asnagy at webitecture dot org
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at Implemented Pager class for the HTML renderer. PEAR::DB and PEAR::DB_DataObject drivers already exist.