X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Feature.html diff --git a/docs/source/Feature.html b/docs/source/Feature.html index f79226a9..df1337da 100644 --- a/docs/source/Feature.html +++ b/docs/source/Feature.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.grid.feature.Feature
  * @extends Ext.util.Observable
  * 
@@ -31,39 +48,39 @@ Ext.define('Ext.grid.feature.Feature', {
     isFeature: true,
     disabled: false,
     
-    /**
+    /**
      * @property {Boolean}
      * Most features will expose additional events, some may not and will
      * need to change this to false.
      */
     hasFeatureEvent: true,
     
-    /**
+    /**
      * @property {String}
      * Prefix to use when firing events on the view.
      * For example a prefix of group would expose "groupclick", "groupcontextmenu", "groupdblclick".
      */
     eventPrefix: null,
     
-    /**
+    /**
      * @property {String}
      * Selector used to determine when to fire the event with the eventPrefix.
      */
     eventSelector: null,
     
-    /**
+    /**
      * @property {Ext.view.Table}
      * Reference to the TableView.
      */
     view: null,
     
-    /**
+    /**
      * @property {Ext.grid.Panel}
      * Reference to the grid panel
      */
     grid: null,
     
-    /**
+    /**
      * Most features will not modify the data returned to the view.
      * This is limited to one feature that manipulates the data per grid view.
      */
@@ -73,7 +90,7 @@ Ext.define('Ext.grid.feature.Feature', {
         return '';
     },
     
-    /**
+    /**
      * Abstract method to be overriden when a feature should add additional
      * arguments to its event signature. By default the event will fire:
      * - view - The underlying Ext.view.Table
@@ -82,11 +99,11 @@ Ext.define('Ext.grid.feature.Feature', {
      * The method must also return the eventName as the first index of the array
      * to be passed to fireEvent.
      */
-    getFireEventArgs: function(eventName, view, featureTarget) {
-        return [eventName, view, featureTarget];
+    getFireEventArgs: function(eventName, view, featureTarget, e) {
+        return [eventName, view, featureTarget, e];
     },
     
-    /**
+    /**
      * Approriate place to attach events to the view, selectionmodel, headerCt, etc
      */
     attachEvents: function() {
@@ -97,7 +114,7 @@ Ext.define('Ext.grid.feature.Feature', {
         return;
     },
     
-    /**
+    /**
      * Allows a feature to mutate the metaRowTpl.
      * The array received as a single argument can be manipulated to add things
      * on the end/begining of a particular row.
@@ -106,7 +123,7 @@ Ext.define('Ext.grid.feature.Feature', {
         
     },
     
-    /**
+    /**
      * Allows a feature to inject member methods into the metaRowTpl. This is
      * important for embedding functionality which will become part of the proper
      * row tpl.
@@ -119,7 +136,7 @@ Ext.define('Ext.grid.feature.Feature', {
         return {};
     },
     
-    /**
+    /**
      * Provide additional data to the prepareData call within the grid view.
      * @param {Object} data The data for this particular record.
      * @param {Number} idx The row index for this record.
@@ -130,18 +147,20 @@ Ext.define('Ext.grid.feature.Feature', {
         return {};
     },
     
-    /**
+    /**
      * Enable a feature
      */
     enable: function() {
         this.disabled = false;
     },
     
-    /**
+    /**
      * Disable a feature
      */
     disable: function() {
         this.disabled = true;
     }
     
-});
\ No newline at end of file +});
+ +