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; }
11 <script type="text/javascript">
12 function highlight() {
13 document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
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
23 Ext.define('Ext.util.Grouper', {
25 /* Begin Definitions */
27 extend: 'Ext.util.Sorter',
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
36 getGroupString: function(instance) {
37 return instance.get(this.property);