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

Bug #8005 options from fill arent being passed through
Submitted: 2006-06-26 14:36 UTC
From: electroteque Assigned: wiesemann
Status: Closed Package: Structures_DataGrid (version 0.7.1)
PHP Version: 5.1.2 OS: n/a
Roadmaps: (Not assigned)    

 [2006-06-26 14:36 UTC] electroteque (daniel)
Description: ------------ in the fill methid in the datagrid base class, the options from filled arent being merged to the renderer. This fixed worked, for some reason _renderer is already loaded before the fill method is run therefore you cant send the options to sendRenderer if (!isset($this->_renderer) or !is_a($this->_renderer, "Structures_DataGrid_Renderer_$type")) { /* No, then load the right driver */ $this->_saveRenderer(); if (PEAR::isError($test = $this- >setRenderer($type, $options))) { $this->_restoreRenderer(); return $test; } } else { $this->_renderer->setOptions($options); } Run the setOptions on the current renderer, unless you have a better way ??


 [2006-06-26 20:08 UTC] wiesemann (Mark Wiesemann)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.