Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member SebTardif's Avatar
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    410
    Vote Rating
    8
    SebTardif is on a distinguished road

      0  

    Default [FIXED-EXTJSIV-158] Dynamic Form, Grid and Charts example stall 1+ second

    [FIXED-EXTJSIV-158] Dynamic Form, Grid and Charts example stall 1+ second


    If you edit a number in the form, like putting 50, then do backspace, it's freezing for at least 1 second on a quad core. Looks like there is too much looping and no "idle" time left for user action.

    See http://dev.sencha.com/deploy/ext-4.0...Dashboard.html

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    It's currently designed that way (though I'd prefer a smaller buffer):

    Code:
            createListeners = function() {
                var timer = null;
                return {
                    change: function(field, newValue, oldValue, listener) {
                        var name, series;
                        if (selectingRow) return;
                        clearTimeout(timer);
                        timer = setTimeout(function() {
                            form.updateRecord(rec);
                            updateRecord(rec);
                        }, 1000);
                    }
                };
            };
    I'm going to clean this up a bit and lower the delay.

    Code:
            createListeners = function() {
                return {
                    change: function(field, newValue, oldValue, listener) {
                        if (selectingRow) {
                            return;
                        }
                        form.updateRecord(rec);
                        updateRecord(rec);
                    },
                    buffer: 250
                };
            };

Similar Threads

  1. Replies: 1
    Last Post: 17 Mar 2011, 4:16 PM
  2. [FIXED]XML Dynamic Form Sample Bug.
    By WixSL in forum Ext:Bugs
    Replies: 1
    Last Post: 20 Feb 2011, 5:41 PM
  3. how to define jsonstore for dynamic series in charts?
    By carrier24sg in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 1 Dec 2010, 3:58 PM
  4. Charts in 2x2 table and dynamic resize (anchor layout-like)
    By thibm in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 26 Oct 2010, 5:32 AM
  5. how to render the (dynamic) charts in columns
    By Rohit in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 25 Jan 2010, 12:45 PM

Thread Participants: 1