Re: Structures_DataGrid question - nice sorting and table layout but how to page and add edit buttons?
| From: | Mark Wiesemann | Date: | Thu, 17 Nov 2005 10:12:44 +0000 |
| Subject: | Re: Structures_DataGrid question - nice sorting and table layout but how to page and add edit buttons? | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21955@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
> AFAIK SDG only does smart querying with DB_DO, although it may have
> new drivers or capabilities I've missed. The normal DB query driver
> certainly doesn't do this, though.
There are two new drivers from me, that only load the needed dataset
from the database:
- DBQuery: in CVS, you have pass a DB object/dsn string and a SQL query
(it uses then limitQuery() to fetch the data)
- DBTable: available via the bug tracker, you have to pass a DB_Table
object and an array key from the "select" array
Mark