Upgrade to ExtJS 3.0.3 - Released 10/11/2009
[extjs.git] / docs / source / BufferView.html
index 46ceefa..3f6089f 100644 (file)
@@ -1,10 +1,10 @@
-<html>\r
-<head>\r
-  <title>The source code</title>\r
-    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
-    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
-</head>\r
-<body  onload="prettyPrint();">\r
+<html>
+<head>
+  <title>The source code</title>
+    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+</head>
+<body  onload="prettyPrint();">
     <pre class="prettyprint lang-js">Ext.ns('Ext.ux.grid');
 
 <div id="cls-Ext.ux.grid.BufferView"></div>/**
@@ -158,6 +158,13 @@ Ext.ux.grid.BufferView = Ext.extend(Ext.grid.GridView, {
                        this.doUpdate();
                }
        },
+    
+    onRemove : function(ds, record, index, isUpdate){
+        Ext.ux.grid.BufferView.superclass.onRemove.apply(this, arguments);
+        if(isUpdate !== true){
+            this.update();
+        }
+    },
 
        doUpdate: function(){
                if (this.getVisibleRowCount() > 0) {
@@ -211,6 +218,6 @@ Ext.ux.grid.BufferView = Ext.extend(Ext.grid.GridView, {
                this.update();
        }
 });
-</pre>    \r
-</body>\r
+</pre>
+</body>
 </html>
\ No newline at end of file