Thank you for reporting this bug. We will make it our priority to review this report.
grid.getView() fails in initComponent
grid.getView() fails in initComponent
In previous version I called me.getView() in initComponent of a grid an all thing was ok. but at 5.1 version I should do this only AFTER this.callParent() call otherwise I get this error :
Uncaught TypeError: Cannot read property 'scroll' of undefined
you can check this fiddles too :
https://fiddle.sencha.com/#fiddle/fkn : it is in 5.0.1 and it is ok
https://fiddle.sencha.com/#fiddle/fko : the same example but in 5.1 and it raises error
Note that if it is a CHANGE , you should tell about it in Upgrade guide. It makes 80% of my old codes not to work.
grid.getView() fails in initComponent
Aucun commentaire:
Enregistrer un commentaire