How to update modifiedby in database through sail

Hi All , I have an editable grid from where i am populating data from the db object and also i have an option to add new column . When a user change on existing column then i have to update modified by in database . can u please tell how can i achieve this 

  Discussion posts and replies are publicly visible

Parents
  • You simply save the output of the now() function into the updatedOn, and save the output of the loggedInUser() function to the updatedBy.

    You can either do that when they click the Add Row button (so it would be part of your type constructor), or you can do it when you save the form by putting it into the saveInto of your submit button.

Reply
  • You simply save the output of the now() function into the updatedOn, and save the output of the loggedInUser() function to the updatedBy.

    You can either do that when they click the Add Row button (so it would be part of your type constructor), or you can do it when you save the form by putting it into the saveInto of your submit button.

Children
No Data