Results 1 to 3 of 3

Thread: Getting data to the server from Form and Grid?

  1. #1
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710

    Default Getting data to the server from Form and Grid?

    Newbie question again.

    I have a window from which I am going to create an order for some items. The window will have a border layout with a form in the West, a Tab on the left (Center) and a Grid below that. The form on the left will house the Order header information, the Grid on the lower bottom on the right with house the ordered items which will be drug from the tab grids.

    Obviously the Order header information will be posted to the server thru the Form 'url: asynchandler.aspx' 'POST' operation...but how do I get the ordered items detail from the grid on the right (which is outside the Form) to the server in the same operation?

    Does this have to be a custom Ajax method that I implement, rather than a simple form post?

    Thanks,
    Randy

  2. #2
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996

    Default

    Yes, you have to code something to get the grid content. There's an example in the Grid FAQ for this. Look for grids in forms in Grid FAQ. Principle is valid for your case.

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710

    Default

    Thanks mj...will check that out and let you know.

    Appreciate the pointer,
    Randy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •