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

Forge Component
Published on 2018-10-23 by Armando Gomes
23 votes
Published on 2018-10-23 by Armando Gomes
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,

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,


There's a ReapplyScript action in the module that I have needed to use after Ajax Refreshes.