Hello!
I am using the plugin and I need to make an element in every item of the list draggable. So I am adding element with class 'draggable' to the lens
<div data-ex-role="lens">
<span data-ex-content=".hour"></span>: <span data-ex-content=".label"></span>
<img class="draggable" data-ex-src-content=".image" />
</div>
And call draggable ui to this class
<script type="text/javascript">
$(document).ready(function(){
$(".draggable").draggable({});
});
</script>
The problem is that after any filtering and grouping the elements are rerendered, so drag does not work any more. The only event I could bind this to is 'DOMSubtreeModified' but is it a right solution? Is there any exhibit event after rerendering the view?
exhibitConfigured.exhibit did not help
Hello!
I am using the plugin and I need to make an element in every item of the list draggable. So I am adding element with class 'draggable' to the lens
And call draggable ui to this class
The problem is that after any filtering and grouping the elements are rerendered, so drag does not work any more. The only event I could bind this to is 'DOMSubtreeModified' but is it a right solution? Is there any exhibit event after rerendering the view?
exhibitConfigured.exhibit did not help