- - Support for Drag & Drop
- Support for context menus (right click)
- - fire a method if the user starts to drag
- fire a method if the user drags something over a bean and decide if dropping is allowed or not per Table-Bean
- fire a method when the user moves the mouse over a table's row that lets you decide if dropping is allowed on a per row basis
- fire a method once the user drops what he has dragged
- receive the element name from the element where the dragging started and the drop occured
- receive the dropAction (copy or move)
The context menu functionality can be used in two ways:
- - you can register a method that is called whenever the user right clicks; that method has to return a menuItem[] array created with Servoy's popupmenu plugin (just like any other popupmenu). This allows you to provide different popupmenus depending on the row the user clicks on.
- you can provide a menuItem[] array directly; then the popupmenu will be the same for the whole table
We have also added a method that lets you set the text orientation (alignment) in a normal table column.
The sample solution has been updated to demonstrate the new features. Also, all Drag & Drop methods have extensive sample code. The update is free for registered users and is available from our website.