Roo/grid/Grid.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 10 Feb 2011 09:50:18 +0000 (17:50 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 10 Feb 2011 09:50:18 +0000 (17:50 +0800)
Roo/grid/Grid.js

index ca052c3..3032673 100644 (file)
@@ -297,12 +297,20 @@ Roo.grid.Grid = function(container, config){
             * @param {event} e The raw browser event
             */
            "dragout" : true,
+        /**
+            * @event rowclass
+            * Fires when the dragged row(s) leave another DD target while being dragged
+            * @param {GridView} gridview The grid view
+            * @param {Object} rowcfg, contains record, rowIndex and rowClass - set rowClass to add a style.
+            */
+        'rowclass' : true,
+        
         /**
          * @event render
          * Fires when the grid is rendered
          * @param {Grid} grid
          */
-        render : true
+        'render' : true
     });
 
     Roo.grid.Grid.superclass.constructor.call(this);