I'm trying to drag and drop an element from a DataGrid which is the widget of a FocusPanel. The target is another DataGrid which is the widget of another FocusPanel contained in a DialogBox. The method onDragStart works fine. I can check with the debugger (Firefox 53.0) that the dataTransfer object is populated with the setData method of the DragStartEvent. On the side of the target the onDrop method is correctly called. The issue is that the dataTransfer object is null and the getData method of DropEvent returns an error. I don't understand why the dataTransfer object is null.
GWT 2.8 dropevent datatransfer null
143 Views Asked by Search17 At
1
There are 1 best solutions below
Related Questions in DATAGRID
- Login form by using a new database, made in VB
- Exporting Datatable
- WPF DataGrid Move to last selected row without highlight recent clicked row
- reactjs datagrid use html
- C# WPF DataGrid - Processing a Dictionary inside a class into column components in the datagrid
- WPF converter column ItemsSource
- Edit DataGrid Cell on mouse over
- Can't put Dropdownlist into a Datagrid
- Outter joins in LINQ query
- Update DataGrid cell if other cell changes
- Binding DataGirdComboBoxColumn to DataSet doesn't work
- Wpf datagrid scrollbar freezes
- Why is wpf UpdateSourceTrigger not binding explicitly?
- GWT DataGrid column width issue after removing columns
- DataGridRowTemplateColumn - refactoring and using styles efficiently?
Related Questions in DRAG-AND-DROP
- Easeljs snap to grid
- Can a dialog intercept drag'n'drop messages passed to its controls?
- Drag and drop whole table row
- python pygame - how to create a drag and drop with multiple images?
- Image dis-appears on droppping imageview android
- Android Listview OnDragListener Item Position On Drop
- Dragging element obscures drop target
- RichTextBox change text on drag or drop
- C#: Dragging/dropping between controls inside flow layout panel
- Drop on same dragged element
- Issues with drag and drop in CKEditor
- Angular Js Drag and Drop - Passing $index to Directive
- Dropzone js - Drag n Drop file from same page
- With iOS 9's multitasking, can my app receive dragged content from another app?
- GridView Rearange switch by drag and drop
Related Questions in GWT-2.8
- Debug Doesn’t Work After Migrating SmartGWT from v4.0 to v13.0
- Errai 4 running on Tomcat
- GWT Compiler : when is a compilation error fatal?
- Getting Uncaught RangeError: Maximum call stack size exceeded in GWT 2.9 post compilation
- GWT compilation error with Maven: No instance of Presenter is defined. Forget to annotate @Presenter or @EventHandler?
- Why can't GWT connect to superdevmode server in multi module maven project?
- Integrating Vaadin GWT Polymer Elements into an existing GWT project without usign Maven, Ant or Gradle
- How to use XMLHttpRequest in GWT?
- GWT RPC fails when launching app from different urls
- GWT compile error: Rebind result cannot be abstract DOMUtilImpl
- GWT - Error constructing Java AST
- Can't compile GWT app using 2.8.0-SNAPSHOT and Java 8 with gwt-maven-plugin
- GWT 2.8 websocket support
- Unresponsive tabs in Chrome and Safari after upgrading to GWT 2.8
- Eclipse / launch / Java Classpath enclosed in quotes / breaks 3rd party tools / blocks development
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I found the answer when reading the paragraph "Performing a Drop" on MDN "Drag Operations". There is a js code snippet where event.preventDefault() is placed at the end of the onDrop function. This drew my attention since my Java code is calling preventDefault() in the beginning of the onDrop() method. I moved the call to preventDefault() to the end of the method and it works. The dataTransfer is no more null and getData() returns the correct information.