Merge branch '2013.10' into 2014.11
[tine20] / tine20 / ExampleApplication / js / ExampleGridPanel.js
1 /*
2  * Tine 2.0
3  * 
4  * @package     ExampleApplication
5  * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
6  * @author      Alexander Stintzing <a.stintzing@metaways.de>
7  * @copyright   Copyright (c) 2012 Metaways Infosystems GmbH (http://www.metaways.de)
8  *
9  */
10  
11 Ext.namespace('Tine.ExampleApplication');
12
13 /**
14  * Example grid panel
15  * 
16  * @namespace   Tine.ExampleApplication
17  * @class       Tine.ExampleApplication.ExampleGridPanel
18  * @extends     Tine.widgets.grid.GridPanel
19  * 
20  * <p>Example Grid Panel</p>
21  * <p><pre>
22  * </pre></p>
23  * 
24  * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
25  * @author      Alexander Stintzing <a.stintzing@metaways.de>
26  * 
27  * @param       {Object} config
28  * @constructor
29  * Create a new Tine.ExampleApplication.ExampleGridPanel
30  */
31 Tine.ExampleApplication.ExampleGridPanel = Ext.extend(Tine.widgets.grid.GridPanel, {
32     initComponent: function() {
33         this.initDetailsPanel();
34         Tine.ExampleApplication.ExampleGridPanel.superclass.initComponent.call(this);
35     },
36     
37     /**
38      * @private
39      */
40     initDetailsPanel: function() {
41         this.detailsPanel = new Tine.ExampleApplication.ExampleDetailsPanel({
42             grid : this,
43             app: this.app
44         });
45     }
46 });