Thank you for reporting this bug. We will make it our priority to review this report.
Renderer functions cannot be defined in a ViewController for ActionColumns
Renderer functions cannot be defined in a ViewController for ActionColumns
Ext version tested: Browser versions tested against: DOCTYPE tested against: Description:
- A renderer function cannot be defined in a ViewController for ActionColumns because the default renderer assumes the value is a function and does not utilize Ext.callback to resolve the listener scope. ViewController renderers do work for standard Ext.grid.column.Columns.
Steps to reproduce the problem:- Create a gridpanel with an action column who has a renderer of type string
- Create a ViewController for the gridpanel with the renderer method
The result that was expected:- The action column calls the renderer on the ViewController from within the default renderer.
The result that occurs instead:- The default renderer calls apply() on the string literal
Workaround- My temporary solution was to utilize Ext.callback with the origScope
Renderer functions cannot be defined in a ViewController for ActionColumns
Aucun commentaire:
Enregistrer un commentaire