[CLOSED] grid.view.refreshRow calls grid.view.refresh(false) - HUGE PERF ISSUE

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] grid.view.refreshRow calls grid.view.refresh(false) - HUGE PERF ISSUE

        refreshRow : function (record) {
            Ext.ux.grid.LockingGridView.superclass.refreshRow.call(this, record);
            var index = Ext.isNumber(record) ? record : this.ds.indexOf(record);
            this.getLockedRow(index).rowIndex = index;
            //need to check after 3.3.0 release - http://forums.ext.net/showthread.php?9174-1.0-Locking-gridview-refreshRow-method-broken
            this.grid.view.refresh(false);
        }
    I have a grid with 200 items with a menu command column. The menu contains 10 items. When I do a refreshRow, it ends up calling entire refresh on the whole grid which destroys and recreates those 200 toolbars all over again. IE7 will complain about long running script. This wasn't the case before v1.0, and now we are getting tons of perf complaints about our app. The main section of our app is this grid. All I need is to update the cell value of a row. Can I do that without grid.view.refreshRow and without grid.view.refresh?

    Also, is there a way to delay the rendering of those toolbars or share toolbars? Because right now, 200 toolbars X 10 subitems is a huge perf issue given the new slow way of toolbar rendering in ExtJS 3.3.
    Last edited by Daniil; Mar 29, 2011 at 10:54 PM. Reason: [CLOSED]

Similar Threads

  1. Grid View inside a tab IFrame
    By chrono in forum 2.x Help
    Replies: 1
    Last Post: Jun 12, 2012, 10:51 AM
  2. Replies: 2
    Last Post: Jul 25, 2011, 9:24 AM
  3. [CLOSED] Grid.view.refreshRow too slow. Is there an alternative?
    By jchau in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 16, 2011, 10:40 PM
  4. NaN/NaN/0NaN in some of the Grid View columns
    By meareal in forum 1.x Help
    Replies: 3
    Last Post: Jan 31, 2011, 2:03 PM
  5. [CLOSED] locking grid view in right side?
    By Suntico in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 19, 2011, 11:38 AM

Tags for this Thread

Posting Permissions