1. #11
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,770
    Answers
    355
    Vote Rating
    165
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    I see.
    After the grid's store is updated the record you have loaded to the form (which owns the radar chart) no longer exists in the store used by the grid and column chart. To update those on a form edit you'll need to find the record in the store matching the one up just updated and update it as well.

    Try with this:
    Code:
    listeners: {
        // buffer so we don't refire while the user is still typing
        buffer: 200,
        change: function(field, newValue, oldValue, listener) {
            if (selectedRec && form) {
                if (newValue > field.maxValue) {
                    field.setValue(field.maxValue);
                } else {
                    if (form.isValid()) {
                        form.updateRecord(selectedRec);
                        updateRadarChart(selectedRec);
                        var index = ds.find('company', selectedRec.get('company'));
                        var values = form.getValues();
                        ds.getAt(index).set(values);
                    }
                }
            }
        }
    }

  2. #12
    Sencha User
    Join Date
    Jan 2008
    Posts
    193
    Answers
    2
    Vote Rating
    0
    Richie1985 is on a distinguished road

      0  

    Default


    thank you thank you thank you thank you thank you thank you thank you thank you

    that works realy cool!

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar