Hi,
I am using drag and drop. How to find a label text of a Scrollview ?
Here is the code snipped.
https://snippet.webix.com/pxu88970
I want to find a label text in drop event? and also how to pass our own data to attacheevent?
Hi,
I am using drag and drop. How to find a label text of a Scrollview ?
Here is the code snipped.
https://snippet.webix.com/pxu88970
I want to find a label text in drop event? and also how to pass our own data to attacheevent?
attachEvent is not the place to pass data
you can send custom arguments in callData
but if you want to send some custom data while dragging then use onBeforeDrag event
https://docs.webix.com/api__link__ui.datatable_onbeforedrag_event.html
Thank you Very very very much.
e.g. i am dragging image from Row 1(Favorites) into Row 2(Action). i want to get a dropped row target Label?
I tried with below code but its working only for “datatable” not for listview?
$$("list").eachRow(
function (row) {
});
list.data.each
- Code Snippet
var target = this
.getParentView()
.getParentView()
.getParentView()
.getChildViews()[0];
webix.message(target.config.label);