Merge branch '2013.10'
[tine20] / tine20 / Tool / Application / templates / js / ExampleRecordGridPanel.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  * ExampleRecord grid panel
15  * 
16  * @namespace   Tine.ExampleApplication
17  * @class       Tine.ExampleApplication.ExampleRecordGridPanel
18  * @extends     Tine.widgets.grid.GridPanel
19  * 
20  * <p>ExampleRecord 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.ExampleRecordGridPanel
30  */
31 Tine.ExampleApplication.ExampleRecordGridPanel = Ext.extend(Tine.widgets.grid.GridPanel, {
32
33     initComponent: function() {
34         this.initDetailsPanel();
35         Tine.ExampleApplication.ExampleRecordGridPanel.superclass.initComponent.call(this);
36     },
37     
38     /**
39      * @private
40      */
41     initDetailsPanel: function() {
42         this.detailsPanel = new Tine.ExampleApplication.ExampleRecordDetailsPanel({
43             grid : this,
44             app: this.app
45         });
46     }
47 });