Re: HTML 5 native dragover event of DataGrid cell never fired

2012-07-11 Thread js
) /*-{ dataTransfer.dropEffect = effect; }-*/; On Wednesday, July 11, 2012 6:59:55 PM UTC+2, Miltos Miltiadou wrote: Hi, can you post the sample code for setting the effectAllowed and dropEffect via JSNI? Thanks in advance. Miltos On Friday, June 22, 2012 2:33:07 PM UTC+3, js wrote: Hi, actually I have

HTML 5 native dragover event of DataGrid cell never fired

2012-06-22 Thread js
Hi, I've been having hard time trying to make DataGrid rows sortable with HTML 5 native drag and drop. I have custom Cell which sinks drag events (see below). If I drag the cell dragstart event is fired but visualization of drag operation is not displayed. Moreover dragover event on other

Re: HTML 5 native dragover event of DataGrid cell never fired

2012-06-22 Thread js
#introduction-7 It looks like you'll to use JSNI though, as this property is not exposed by GWT on the DataTransfer object. Or maybe it's just because you didn't call setData() in your Cell (event.getDataTransfer().setData(text, test)) On Friday, June 22, 2012 12:27:43 PM UTC+2, js wrote: Hi

Re: GWT draggable CellTable cells

2012-06-14 Thread js
Hi, I faced same problem. I set draggable to true on cellTable.getElement() and added DragStartHandler to CellTable. This works. cellTable.getElement().setDraggable(Element.DRAGGABLE_TRUE); cellTable.addDomHandler(new DragStartHandler() {...}); I can drag selected rows (with help of selection

Help: How to refresh Button Text?

2011-03-28 Thread Rodrigo JS
Hi All, I am new to GWT and was trying to create an horizontal panel with 5 Buttons on it. So far, so good. Point is that when I implemented the method that would define what to be written in each Button it did not work. Can anyone helpe me? Thanks, Rodrigo public void onModuleLoad() {