Can Editor insert rows that are returned after an edit of a row?
Can Editor insert rows that are returned after an edit of a row?
Is it possible for Editor to insert additional rows that have been added to the 'data' json array being returned from the server after an edit is done?
For example, I edit a row in such a way that will generate additional rows on the server side, I can add the row that was edited to 'data', as well as the new rows that were created, on the server side. Currently I have to do a full reload to get the new records to show, rather than them just being inserted after edit. I'd prefer not to make another ajax call just to get the new records.
Replies
Yes, it should be possible to add extra rows onto the
data
parameter in the returned JSON. This is the code that Editor is running at that point:Can you show me your returned JSON?
Allan
Actually, Allan, I just returned the new rows separately and added them to the table. Not biggie. Thanks!