Closed MikeAllred closed 4 years ago
have you tried using this in ajax success event $('#fullGrid').jtable('reload');
I had not tried that... i added it after the call to deleteRecord.... It appears to be working (obviously) as i haven't had the "straggler" rows since the update.
Thanks for the suggestion
jQuery 1.11.2 jTable 2.4.0
Scenario: In our application, we are selecting multiple documents (rows) in jTable and then "archiving" them. Upon successful "archiving" of each document, we call deleteRecord to remove the row from the jTable. Sometimes this works and all rows are removed (normally dependent on how many rows are selected), but most of the time with more documents selected for archiving, we see one or more (but normally no more that a couple) that are still selected or still present in the jTable. The "archiving" action is done via an async Ajax call and does complete successfully, but the resulting call to deleteRecord either doesn't appear to be getting issued or it's failing b/c the row is still present in the table.
Any thoughts/suggestions? Below is a code snippet of the relevant calls