1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    17
    Vote Rating
    0
    shobhaaradhya is on a distinguished road

      0  

    Default How to get value from store?

    How to get value from store?


    Hi,

    I want to retrieve value from store data object.

    I am trying to use

    var rec = Ext.StoreMgr.lookup("sMyData").getAt(1);

    I belive this retrieves first record from store object which contains data object which has all the field values of that row. I want to get filed value say "first name" from data object.

    How can I do it?


    Thanks,

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,915
    Vote Rating
    630
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    In future, please post in the appropriate forum. If you want Ext JS help, post in the Ext help forums, if you want help with Touch, post there.

    http://docs.sencha.com/ext-js/4-1/#!...del-method-get
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1