Announcement

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

    ListGrid vs DynamicForm saveData

    SmartGWT LGPL 2.4 / Google Chrome

    I don't understand the reason why an editable ListGrid is not sending all fields on an update action (only modified fields) although a DynamicForm is sending all fields.

    I know the workaround (add the non-modified fields in the transformResponse) but I don't get the logic behind this

    Thanks

    #2
    Yes. I do not understand it, either.
    Makes trouble server side or client side (transformRequest).
    MichalG

    Comment


      #3
      I actually want the DynamicForm to send only the updated fields since I have a timestamp field that auto updates the date/time when the DB row is updated.

      Did you find out how to control what is being sent down to the server?

      Comment


        #4
        You may ignore that timestamp value server side?

        Or you can transform request and do the opposite - I am adding missing values from oldValues, you may wish to remove timestamp field from the request.
        MichalG

        Comment


          #5
          Thank you!

          Comment

          Working...
          X