GWT Simple Drag and Drop for custom widgets

 ̄綄美尐妖づ 提交于 2019-12-08 08:59:12

问题


Are there any GWT gurus out there who can guide me on how to start with Drag and Drop in GWT for custom widgets. I have a build a simple tree structure by putting custom widgets inside an HTMLPanel (table rows) and want to be able to drag and drop each widget above or below other widgets but don't know where to start I am using 1.6. I need someone to guide me or point me in the right direction. thanks


回答1:


gwt-dnd providing easy to use drag-and-drop capabilities to Google Web Toolkit (GWT) projects. I encourage you for using this library. You can see a complete demo with source code about gwt-dnd in this site .




回答2:


You can also look at drag-and-drop plugin of gwtquery. documentation : http://code.google.com/p/gwtquery-plugins/wiki/DragAndDropPluginForGWTDeveloppers



来源:https://stackoverflow.com/questions/1390965/gwt-simple-drag-and-drop-for-custom-widgets

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!