Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / docs / source / Grouper.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5   <title>The source code</title>
6   <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
7   <script type="text/javascript" src="../prettify/prettify.js"></script>
8   <style type="text/css">
9     .highlight { display: block; background-color: #ddd; }
10   </style>
11   <script type="text/javascript">
12     function highlight() {
13       document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
14     }
15   </script>
16 </head>
17 <body onload="prettyPrint(); highlight();">
18   <pre class="prettyprint lang-js"><span id='Ext-util-Grouper'>/**
19 </span> * @class Ext.util.Grouper
20  * @extends Ext.util.Sorter
21  */
22  
23 Ext.define('Ext.util.Grouper', {
24
25     /* Begin Definitions */
26
27     extend: 'Ext.util.Sorter',
28
29     /* End Definitions */
30
31 <span id='Ext-util-Grouper-method-getGroupString'>    /**
32 </span>     * Function description
33      * @param {Ext.data.Model} instance The Model instance
34      * @return {String} The group string for this model
35      */
36     getGroupString: function(instance) {
37         return instance.get(this.property);
38     }
39 });</pre>
40 </body>
41 </html>