Hello @ganeshkp,
can you please show some idea on how to do it
Unfortunately, I will not be able to provide you with an example utilizing SSE (Server-sent Events). That said, a general example could look something like this: https://snippet.webix.com/2dgwoz5l.
A few notes:
I am trying to implement webix tree on left side and data table on right side. when i dragged item from webix tree into data table
The DnD feature in this case is mainly done with the help of the drag: true
property, please note that some modifications to the drag context are needed.
it should call REST api and receive SSE events for that dragged item
As previously mentioned, I am not able to include SSE interactions within this snippet, instead I am making a simple call to the server in a RESTful way, the exact implementation depends entirely on your specific use case.
display event data on data table along with dragged item full path.
I am not sure what you mean by “full path”, but you can display any data in the drop target location (as you can see from the manipulations with context from before). To display the data we gou from our request I am using a custom template
.