My Scenario is that i have a <UL> element that is binded to an observable collection.
on page load, the following JS is being ran to make the children droppable targets.
this works well for existing elements at the time of page load, but doesn't work for newly created elements that are pushed later to the ObservableCollection.
How can I make sure that the same dropTarget settings are applied to those as well without rerunning the above code for each pushed item?
on page load, the following JS is being ran to make the children droppable targets.
$(
"li"
).kendoDropTarget({<setting here>})
this works well for existing elements at the time of page load, but doesn't work for newly created elements that are pushed later to the ObservableCollection.
How can I make sure that the same dropTarget settings are applied to those as well without rerunning the above code for each pushed item?