find label text of scrollviewbody

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

https://snippet.webix.com/i0ied4qq

Thank you Very very very much.

  1. I need a label for a dropped target row.

e.g. i am dragging image from Row 1(Favorites) into Row 2(Action). i want to get a dropped row target Label?

  1. And also can you please provide example for reading items of a listview.

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);