I want to make a datagrid in which rows will be draggable so that a person can move rows up and down by dragging the rows. As row of the datagrid will be get as an element. I know how to make the widgets draggable, but how the rows of the datagrid can be made draggable? I don't want to use any extra plugin or library for achieving this.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The only library I know of that support drag&drop with(in) cell widgets is GwtQuery with droppable plugin, see their showcase. I suggest your to give it a try instead reinventing the wheel (or take inspiration from their codebase). See this thread about your CellTable
use case.