Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to retrieve Primary Key in DynamicForm

    I'am invoking DynamicForm.saveData() which is hooked up to a CustomDataSource . The CustomDataSource creates the new entry in database and returns the primary key in the DSResponse. How do I get the primary key from this DSResponse in the client side ? The callback method on saveData does not have anything.

    #2
    I found the solution for this by implementing the DSCallback .

    Thnx.

    Comment


      #3
      Hi, vignesh_mp i want to do the same that you were doing but I don't know how to implement DSCallback.

      Can you tell me how did you do it?

      I would appreciate your help.

      Have a nice day.

      Comment


        #4
        dynamicForm.saveData(function (dsResponse, data, dsRequest) {

        // get whatever you want from dsResponse
        }
        );

        Comment

        Working...
        X