Ext version tested: Browser versions tested against: DOCTYPE tested against: Description:

http://ift.tt/1sw7F3J



  • 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