[CLOSED] Problem to get store from code behind

  1. #1

    [CLOSED] Problem to get store from code behind

    Hello

    I try to get the store from a grid in code behind.

    When I use

    grid.store.add(myStore)
    I can get the store like that

    store=grid.store.primary
    or like that


    store=grid.store.item(0)
    but if I use the storeID in apsx page, this method di not work. How can I do?
    Last edited by Daniil; Apr 27, 2012 at 1:39 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please use the GetStore method.
    this.GridPanel1.GetStore()
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    Please use the GetStore method.
    this.GridPanel1.GetStore()
    Ok, thanks

Similar Threads

  1. Replies: 2
    Last Post: Apr 12, 2012, 5:44 AM
  2. Replies: 3
    Last Post: Jul 24, 2011, 1:57 PM
  3. Replies: 1
    Last Post: Jul 07, 2011, 8:34 PM
  4. Replies: 3
    Last Post: May 26, 2011, 5:18 AM
  5. Replies: 1
    Last Post: Aug 12, 2009, 11:39 AM

Posting Permissions