We have been developing a visual editor where we are using drag and drop to do add and remove. For example, we drag an icon to a layout or some other canvas to cause a new object to be added to the canvas. Or we drag an object contained within a canvas to a trash can icon to cause the object to be removed from the canvas.
Now we are trying to do this with a ListGrid.
Specifically, we would like to:
We will write the logic to remove or add objects based on drag and drop. However, we need to be able to have some kind of drop handler on the ListGrid to detect when something has been dropped.
Additionally, we need to be able to detect when a record from a ListGrid has been dropped on an image.
After looking through the SmartGWT showcase I was unable to find any API that would accomplish this.
Is there any API available for ListGrids that would meet our requirements?
Now we are trying to do this with a ListGrid.
Specifically, we would like to:
- Drag an image to a specific position in a ListGrid to cause a record to be added to the ListGrid at that postion.
- Drag a record/row from a ListGrid to our trash can icon and that would cause the record to be removed.
We will write the logic to remove or add objects based on drag and drop. However, we need to be able to have some kind of drop handler on the ListGrid to detect when something has been dropped.
Additionally, we need to be able to detect when a record from a ListGrid has been dropped on an image.
After looking through the SmartGWT showcase I was unable to find any API that would accomplish this.
Is there any API available for ListGrids that would meet our requirements?
Comment