angular-gridster2 icon indicating copy to clipboard operation
angular-gridster2 copied to clipboard

How to implement data communication and DOM operation between gridster-item?

Open ninggaoqian opened this issue 1 year ago • 1 comments

I want to implement data communication between two gridster-items. My business scenario is that I want a user

carrying information in a gridster to be dragged and dropped to a gridster-item with the function of a recycle bin, but how to communicate between two gridster-items to trigger the operation of deleting user information when dragging and dropping?

ninggaoqian avatar Mar 31 '23 09:03 ninggaoqian

@ninggaoqian https://github.com/tiberiuzuld/angular-gridster2/blob/master/projects/angular-gridster2/src/lib/gridsterConfig.constant.ts dropOverItems: false, // enable drop items on top other item dropOverItemsCallback: undefined // callback on drop over another item allowMultiLayer: false,

These options might work for you.

AndeYashwanth avatar Mar 31 '23 19:03 AndeYashwanth