PDA

View Full Version : 4.1 and Drag'n'Drop regards deprecated render



eickler
1 May 2012, 8:53 AM
to my understanding render event is deprecated in 4.1 http://docs.sencha.com/ext-js/4-1/#!/guide/upgrade_41
still the Drag'n'Drop examples e.g. http://docs.sencha.com/ext-js/4-1/#!/api/Ext.dd.DragZone
use the render event


myDataView.on('render', function(v) {
myDataView.dragZone = new Ext.dd.DragZone(v.getEl(), {
...


are those examples supposed to be updated or what's the deal?

btw the upgrade guide suggests to use beforeRender and afterRender. why the capital R?

mitchellsimoens
7 May 2012, 6:19 AM
That upgrade guide talks about the render method not render event.