Hi Webix team,
If I have multiple datatable with dynamic id’s and same class. And I want to apply drop event on datatable so how can I take id in such case.
I am doing like:
var inputCountOfGrid = $(".reportTable"); // Total no of grid with particulat class.
for (var i = 0; i < inputCountOfGrid.length; i++){
var idOfDropOfGrid = inputCountOfGrid[i].id;
$$(idOfDropOfGrid).attachEvent("onBeforeDrop", function(context){
alert(1)
});
}
But I am not able to apply onBeforeDrop in above case.