I am attempting to clone a widget instance and display the cloned widget on the dom separate from the original. The goal is to adjust the jaql.filter on the cloned widget to display different data. The filters being passed are unique to the logged in user, so we do not want to create new widgets for every occurrence on the sisense dashboard.
I have tried doing a deep clone of the widget object and rendering that clone to the dom, but I receive error 'TypeError: Cannot read property 'trigger' of undefined' when trying to set the container on the new object.
let widget = sisenseDashboard.widgets.get(val.widgetHash)
// Get Widget Container on Dom
// Create a Deep Clone of Widget Instance
Please sign in to leave a comment.