1. #11
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,795
    Answers
    358
    Vote Rating
    167
    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 was only skimming the thread, but wanted to comment on the store alias.
    For Ext.data.Store type stores you can use an alias of 'store.storealias' and then use storealias as a type.

    Code:
    // chart, or combo, or grid component config
    // ...
    store: {
        type: 'storealias'
    }
    Sorry if I interrupted.

  2. #12
    Sencha User johnmmcparland's Avatar
    Join Date
    Feb 2013
    Location
    Scotland
    Posts
    9
    Vote Rating
    0
    johnmmcparland is on a distinguished road

      0  

    Default


    Quote Originally Posted by MikeRH View Post
    There is no alias config for a store that I know of by the way...you need to use storeId.

    Anyway...

    I made this test case for you....just quick simple code. Just put extjs-4.1.3 in your web server then unzip the attachment in your extjs-4.1.3/examples folder and this should work.

    You can change the form values and save and the chart will update...maybe this will help you.

    Thank you very much Mike - I got it to work using your example!

    What I don't understand though is why calling
    Code:
    constructor: function(cfg) {
    in the Store and
    Code:
      initComponent: function() {
            Ext.applyIf(this, {
    in the chart made such a difference?

Thread Participants: 3

Tags for this Thread