This is a migrated thread and some comments may be shown as answers.
Possible to modify response in OnComplete?
1 Answer 35 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
JP
Top achievements
Rank 1
JP asked on 22 Mar 2012, 04:55 PM
Is it possible to modify the response in OnComplete and handle databinding myself? Something like this:

workOrder.onNotesComplete = function (e) {
        if (e.name == 'insert') {
            var note = e.response.data[0];
            workOrder.Notes.push(note);
            $('#NotesGrid').data('tGrid').dataBind(workOrder.Notes);
        }
 
};

All my attempts to do this have been foiled.

1 Answer, 1 is accepted

Sort by
0
Jon
Top achievements
Rank 1
answered on 22 Mar 2012, 07:49 PM
RESOLVED: DataKey was not unique
Tags
Grid
Asked by
JP
Top achievements
Rank 1
Answers by
Jon
Top achievements
Rank 1
Share this question
or