Author Topic: Example of how to save changes to cell data  (Read 1553 times)

pbassey

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 54
    • View Profile
Example of how to save changes to cell data
« on: February 10, 2025, 01:47:37 am »
Can you please direct me to a code example that supports the updating (of a SQL database) of cell data changes in real time using .NET MVC?
« Last Edit: February 10, 2025, 01:53:30 am by pbassey »


pbassey

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 54
    • View Profile
Re: Example of how to save changes to cell data
« Reply #2 on: February 10, 2025, 09:27:30 pm »
I am not getting to the my debugger statement (see attachment) when I edit a cell in. my grid.  Can you tell me if there are any specific grid properties to look for that might be causing this?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6373
    • View Profile
Re: Example of how to save changes to cell data
« Reply #3 on: February 10, 2025, 09:53:32 pm »
Please ensure to set trackModel to on.

https://paramquery.com/pro/api#option-trackModel

and set the primary key of the records.

https://paramquery.com/pro/api#option-dataModel-recIndx