1. #1
    Ext User
    Join Date
    Jul 2009
    Posts
    12
    Vote Rating
    0
    heavywave is on a distinguished road

      0  

    Default Grid and record.endEdit() very poor performance.

    Grid and record.endEdit() very poor performance.


    I've noticed that calling endEdit on a record inside of a grid causes the whole row to be removed and a new row to be inserted (which is a very expensive operation) regardless of the values actually modified. Just updating 5 cells (on 5 different rows) locks 1.7 Ghz Celeron at 100% CPU usage. That's terrible.

    My question is: why isn't there a method to just update the value of a cell, without any DOM manipulations (which are completely unnecessary)? Currently I am thinking of doing it myself, as the default ExtJS behavior is amazingly slow.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    97
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    There is a thread in the Bugs section about this with a possible implementation.

  3. #3
    Ext User
    Join Date
    Jul 2009
    Posts
    12
    Vote Rating
    0
    heavywave is on a distinguished road

      0  

    Default


    Quote Originally Posted by Condor View Post
    There is a thread in the Bugs section about this with a possible implementation.
    Could you provide a link?

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    97
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    It's issue #82.

Similar Threads

  1. Performance on Record.set
    By crpatrick in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 11 Aug 2010, 2:43 AM
  2. Complex UI, renderTo poor performance, any way to make it into apart??
    By marsxu in forum Ext 3.x: Help & Discussion
    Replies: 10
    Last Post: 7 Oct 2009, 6:46 PM
  3. Poor performance with custom widget
    By googelybear in forum Ext GWT: Help & Discussion (1.x)
    Replies: 3
    Last Post: 12 Mar 2009, 2:58 AM
  4. Any Workaround for Poor Grid Rendering Performance with Many Rows
    By aendo in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 31 Oct 2007, 9:46 AM
  5. poor performances
    By kallou in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 21 Aug 2007, 7:27 AM

Thread Participants: 1