I have created a custom grid and collection. Now, I am saving the filters to session for future use using:
and retrieving this in another controller. How am I going to apply these parameters upon loading the collection?
I can retrieve the parameters/filters using:
$filters = Mage::getSingleton('adminhtml/session')->getData('custom_block_gridfilter'); $filters = Mage::helper('adminhtml')->prepareFilterString($filters);
Now, how am I going to apply it to?
Or perhaps how am I going to retrieve the grid collection with the filters applied to it?