This question is locked. New answers and comments are not allowed.
I'm having trouble accessing my data keys from a PopUp form in the new release. I have some cleint-side logic that runs from a textbox in the edit form that needs to get at my object's id. Previously I would be able to use jQuery to get the grid and the form and make a call to grid.dataItem($form.data('tr')) to get the underlying object and get at the property values. But when I run the same function now it returns 'undefined'. I took a look at the grid.editing javascript to try to figure out the problem, and I believe that a change was made in the logic to call $popup.data('tr', $tr) just before the call to updateRow. If I understand this correctly, then the row data is only set on the form just before the form updates back to the data store. I was able to get around this for now by tying in to the onEdit event and storing the data myself. But is there another way to get at the underlying data object or data keys for a PopUp form while it is being edited? Would it be possible to have the grid logic set the 'tr' value when the popup is created?
Thanks in advance for your help.
Regards,
Brian
Thanks in advance for your help.
Regards,
Brian