I have this grid with GroupingView ...

1.jpg

I have this grid with GroupingView when shooting a record stays that way...

2.jpg

No Decrease in records....

SOLUTIONS

GroupingView

HTML Code:
onRemove : function(ds, record, index, isUpdate){
        /*solution*/
        if (this.canGroup()){
            var ss = this.getScrollState();
            this.refresh();
            this.restoreScroll(ss);
        }
        /*solution*/
        Ext.grid.GroupingView.superclass.onRemove.apply(this, arguments);
        var g = document.getElementById(record._groupId);
        if(g && g.childNodes[1].childNodes.length < 1){
            Ext.removeNode(g);
        }
        this.applyEmptyText();
    }