[CLOSED] Grid Performance - Refresh fired twice

  1. #1

    [CLOSED] Grid Performance - Refresh fired twice

    We have several pages in our app with grids and they are SLOW in IE. When I run the profiler, I notice the Refresh function is called twice. When grid is rendered, there's a defer call to Refresh from grid.ApplyFirstRefresh. When data is loaded, the grid is also refreshed. So in the case where data is loaded through memory proxy, the grid is refreshed by data load, then immediately refreshed again by the deferred refresh. Seems like the deferred refresh is not needed. By cancelling the second refresh, the page load time went from 1.7s to 1s.
    Last edited by Daniil; Feb 19, 2015 at 4:26 AM. Reason: [CLOSED]
  2. #2
    Hi @jchau,

    Interesting, a couple of days again the same question has been asked and here is an answer:
    http://forums.ext.net/showthread.php...l=1#post252111
  3. #3
    Thanks! I used another workaround. I set the view's deferInitialRefresh = false so that will make the view refresh happen right away when no data has been loaded yet so that refresh is very fast. Then the data load happens and the real refresh does work.

Similar Threads

  1. [2.0]Performance of grid headeritems.
    By howardyin in forum 2.x Help
    Replies: 0
    Last Post: Oct 30, 2012, 8:38 AM
  2. Replies: 1
    Last Post: Dec 01, 2011, 11:34 AM
  3. Replies: 1
    Last Post: Nov 28, 2011, 2:40 PM
  4. [CLOSED] Renderer on grid performance
    By jeybonnet in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 28, 2011, 1:05 PM
  5. About paging in grid - Performance
    By eljackpot in forum 1.x Help
    Replies: 1
    Last Post: Sep 23, 2010, 2:04 PM

Posting Permissions