Timeline for Best Practice: How to add a column to a backend grid ?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 12, 2016 at 12:08 | comment | added | Louis B. | When using the "core_block_abstract_to_html_before" event for my observer, I was not able to do any sorting or filtering on my custom column. Instead I had to use the "core_block_abstract_prepare_layout_after" event, as described here: magento.stackexchange.com/a/4720/3830 | |
Apr 22, 2015 at 11:57 | history | edited | 7ochem | CC BY-SA 3.0 |
deleted 2 characters in body
|
May 21, 2013 at 6:15 | comment | added | MagePsycho | Hope this helps: "Just as with the _prepareLayout method, the before and after html rendering methods have analogous global system events core_block_abstract_to_html_before core_block_abstract_to_html_after Unlike the lifecycle callbacks, these events will fire regardless of the cache state of a block. So, if you were trying to use _beforeToHtml but its cache behavior was problematic, setting a listener for core_block_abstract_to_html_before should get you where you need to go." REFER: alanstorm.com/magento_listener_lifecycle_block | |
May 21, 2013 at 5:12 | comment | added | Fra |
Any reason to choose core_block_abstract_to_html_before instead of core_block_abstract_prepare_layout_before
|
|
May 20, 2013 at 12:13 | history | answered | MagePsycho | CC BY-SA 3.0 |