[Drag-n-Drop Sortable List] Workaround for AJAX refresh

[Drag-n-Drop Sortable List] Workaround for AJAX refresh

  
Forge Component
(20)
Published on 2016-04-21 by Vasco Santos
20 votes
Published on 2016-04-21 by Vasco Santos
Hey folks, 

In my experience, this plugin breaks when performing an AJAX refresh on the table. A dirty workaround that suits my use cases (but might not suit yours) is navigating to the current screen, to reset the data query and refresh the table or list. 

Kind regards,
Robrecht

Try wrapping a container around the TableRecords object, giving the new container a name and Ajax-refresh that instead of the TableRecord  object, this copies the pattern in the Sortable example and seems to work fine.  Refreshing the TableRecord alone does not seem to reset all the necessary client side objects.

Kind regards,

Charles