DragDropPlugin class is a DataTable plugin that enables drag-and-drop functionality for table rows. It allows users to drag rows and drop them into other DataTables linked with this plugin. This class implements the DataTablePlugin interface and provides methods to configure the drag-and-drop behavior.
Usage Example:
DataTable< Person> dataTable = DataTable.create(data); DragDropPlugin< Person> dragDropPlugin = new DragDropPlugin<> (); dragDropPlugin.linkWith(dataTable2); // Link with another DataTable dataTable.addPlugin(dragDropPlugin);
T
The type of data in the DataTable.