Author Topic: How to update related cells without using formula (or mapped to a select list)  (Read 365 times)

hyh888

  • Pro Enterprise
  • Full Member
  • *
  • Posts: 142
    • View Profile
When the name of a product is changed, in old sales order the old name should be expected to show but in the  new created order the new name is expected to show. If formula is used, the old sales order will show the new name, even old name is recorded in the table of sales order lines in database. If there is a solution for this condition?  Is there afterchanged and afterupdated for pqgrid cells?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
I'm not quite following the issue faced by you. Can you please share a jsfiddle.

Please check these events:
https://paramquery.com/pro/api#event-beforeValidate
https://paramquery.com/pro/api#event-cellSave
https://paramquery.com/pro/api#event-change
« Last Edit: October 11, 2022, 06:34:37 am by paramvir »