Results 1 to 3 of 3

Thread: Delete in Grid very slow with FF 57 (Quantum)

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    4

    Default Delete in Grid very slow with FF 57 (Quantum)

    We have an ExtJS (6.5.0) Grid with 2.000 entries. When we delete all entries the following code is executed:

    Code:
          store = @grid.getStore()
          store.suspendEvents()
          store.setData([])
          store.resumeEvents()
          @grid.getView().refresh()
    (suspend/resume is a try from https://www.sencha.com/forum/showthr...emove(records) )

    The

    Code:
          @grid.getView().refresh()
    line takes more than a minute to execute (Mac Book Pro 2016). In FF 56 (or any other browser) it's no problem.

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,255

    Default

    Try wrapping your code with:

    Code:
    Ext.suspendLayouts();
    store = @grid.getStore()
    store.suspendEvents()
    store.setData([])
    store.resumeEvents()
    @grid.getView().refresh()
    Ext.resumeLayouts(true);
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Posts
    4

    Default

    Thanks for your answer. Unfortunately it doasn't help.
    all the best

Similar Threads

  1. Replies: 0
    Last Post: 9 Feb 2015, 8:48 AM
  2. Performance Issue in Grid, grid data load too slow and filter is too slow
    By herleraja in forum Sencha Architect 3.x: Q&A
    Replies: 0
    Last Post: 9 Feb 2015, 8:48 AM
  3. Slow Slow Grid with Json
    By psmacarov in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 29 Jul 2011, 1:03 PM
  4. [MOVED] Please Implement Delete Key to delete items in addition to Delete Menu Item
    By markjlyon in forum Ext Designer: Help & Discussion
    Replies: 1
    Last Post: 11 May 2010, 7:48 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •