[CLOSED] How to read Store in code behind?

  1. #1

    [CLOSED] How to read Store in code behind?

    Hi,

    After populating datasource to gridpanel, I have to make some rows select as default based on some conditions, this should be done from code behind. I am getting store in code behind using GridPanel.GetStore(). Can you please give me some example code how to read store from code behind?
    Last edited by geoffrey.mcgill; Jun 14, 2011 at 9:52 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Why don't you read datasource directly?
    Store has no rows, it read data from datasource and serialize it to json. Therefore if you need to analyze binded data, please read it from datasource directly
  3. #3
    Hi,

    Here is the related thread.
    http://forums.ext.net/showthread.php?10705
  4. #4

    How to read Store in code behind?

    Hi Daniil,

    Yes, I used to read DataSource only in code behind. Thank you


    Quote Originally Posted by Daniil View Post
    Hi,

    Here is the related thread.
    http://forums.ext.net/showthread.php?10705
  5. #5
    Please clarify: is this still a problem or can we mark this thread as solved?

Similar Threads

  1. Replies: 2
    Last Post: Apr 10, 2012, 12:08 PM
  2. Replies: 1
    Last Post: Nov 01, 2010, 9:00 PM
  3. Replies: 5
    Last Post: Sep 02, 2010, 9:49 AM
  4. How to read Store's details in code behind
    By venuc in forum 1.x Help
    Replies: 0
    Last Post: Jan 21, 2010, 11:04 AM
  5. Debugged code is read only
    By Nime in forum 1.x Help
    Replies: 0
    Last Post: Nov 09, 2009, 4:48 AM

Tags for this Thread

Posting Permissions