Author Topic: Unable to track grid changes  (Read 2211 times)

ONEITSS

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 27
    • View Profile
Unable to track grid changes
« on: May 30, 2017, 10:12:39 am »
Hi,
I am not what i missed but grid.getchanges are giving blank data always.
already included trackModel: { on: true }, //to turn on the track changes. are they any special properties need to set to track changes.

thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Unable to track grid changes
« Reply #1 on: May 30, 2017, 10:51:14 am »
Also need to set dataModel.recIndx ( primary key of the records ).

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

ONEITSS

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: Unable to track grid changes
« Reply #2 on: May 31, 2017, 12:16:54 am »
Thank you, it helped me.
Now some reason JSON data is getting extra ":" while send data to server, did i miss anything.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Unable to track grid changes
« Reply #3 on: May 31, 2017, 05:57:40 pm »
I don't see any reason for extra ":"

What's the value of getChanges() in console.log