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

Bug #17581 No table is rendered when Structures_DataGrid is limited
Submitted: 2010-07-13 12:33 UTC
From: cidx Assigned:
Status: Open Package: Structures_DataGrid_Renderer_HTMLTable (version 0.1.5)
PHP Version: 5.3.2 OS: windows xp
Roadmaps: (Not assigned)    
Subscription  


 [2010-07-13 12:33 UTC] cidx (andriy tovt)
Description: ------------ When I use Structures_DataGrid() the HTMLTable renderer shows me the whole table. When I use Structures_DataGrid(10) the HTMLTable renderer shows me nothing, but the Pager renderer shows the pages and you can navigate through the pages, but the table does not appear. Test script: --------------- $options = array('dsn' => "odbc:Driver={SQL Server Native Client 10.0};server=$server; Database=$database; uid=$user; pwd=$password"); $datagrid =& new Structures_DataGrid(10); $test = $datagrid->bind('SELECT * FROM smsTest', $options, 'PDO'); $test = $datagrid->render('Pager'); $test = $datagrid->render('HTMLTable'); Expected result: ---------------- I expect to see the limited table. Actual result: -------------- When I limit the DataGrid the table is not shown.

Comments