Custom Window with Record Details - Saving to Database

  1. #1

    Custom Window with Record Details - Saving to Database

    Hello,
    I downloaded the following example:
    https://examples5.ext.net/#/GridPane...etails_Window/

    It seems to work properly except the code to save the data to the database is not there. I see there is a "save" js function that is executed when the button is clicked, but nothing further. The grid is updated when the user clicks "Save" button on the form but the data is not going to db. Is there another example I can look at to see how that works?

    Thanks in advance.

    Dennis.
  2. #2
    Hello, @Dennis!

    We got a grid panel section with saving variations that takes data straight to a MS-SQL server, and that's probably more than what you need to see how to persist Ext.NET data in your database.

    These are some ways, of course, but far from all possible alternatives to save data. They are nonetheless good references to get you started. Well, hopefully so.

    Here you go:

    - GridPanel > Saving_Variations > HttpHandler
    - GridPanel > Saving_Variations > StoreCustomLogic
    - GridPanel > Saving_Variations > StoreEvents
    - GridPanel > Saving_Variations > WebService

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Thanks! I figured it out, just made a call to DirectMethod. It worked!

Similar Threads

  1. Custom Window with Record Details on MVC
    By logidat in forum 2.x Help
    Replies: 3
    Last Post: Aug 19, 2014, 6:34 PM
  2. [CLOSED] Problems with Custom Window with Record Details
    By opendat2000 in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 26, 2014, 9:09 PM
  3. Replies: 0
    Last Post: Nov 12, 2012, 6:36 AM
  4. Replies: 1
    Last Post: Sep 26, 2012, 11:13 AM
  5. Replies: 0
    Last Post: Oct 24, 2011, 4:26 PM

Tags for this Thread

Posting Permissions