Pages

Wednesday, July 31, 2013

Store Selection Across Multiple Views

Here's a video on synchronizing store selection across multiple views of the same type, and of different types

 

Here's the source code.

Monday, July 1, 2013

Animating windows in ExtJS

The following code will override the Window class, causing animation on show, close, maximize, and restore.

You need to set {maximizable:true} in your Window config to get the maximize button.


Ext.window.Window.override({

  animateTarget: Ext.getDoc(), //animate on show/close from top left of document
  
  maximize: function(){
    this.callParent([true]); //animate
  },

  restore: function(){
    this.callParent([true]); //animate
  }  
});