Read data from GridPanel

  1. #1

    Read data from GridPanel


    I have a form, which includes some textfields, dropdowns and a GridPanel.

    How can I read the data from the GridPanel through a DirectEvent or DirectMethod?
    Is there some method like GridPanel.GetValues() which gives me a list of data items?

    Thanks for your help,
  2. #2
  3. #3
    Thanks a lot, the second example helped.

    I now create a hidden field GridPanel1_Data. When the 'Save' button of my application is hit, I read the GridPanel row data into this hidden field, prior to calling the DirectMethod 'save'.
    Then I read the hidden field from the postback data as usual.

    That seems to work for me, so thank you very much!

Similar Threads

  1. Replies: 2
    Last Post: Feb 02, 2012, 4:45 PM
  2. Form doesn't read data unless activated
    By paul-2011 in forum 1.x Help
    Replies: 2
    Last Post: Jun 30, 2011, 7:43 PM
  3. Replies: 2
    Last Post: Dec 06, 2010, 2:07 PM
  4. How To Read Records from Ext.GridPanel
    By Rupesh in forum 1.x Help
    Replies: 0
    Last Post: Nov 13, 2010, 6:04 AM
  5. read gridpanel rows
    By maxdiable in forum 1.x Help
    Replies: 0
    Last Post: Jul 21, 2009, 3:47 AM

Posting Permissions