Well Google spreadsheet is able to do it somehow and I am sure setting an onclick on the body will fire even if the mouseup is out of the screen. So there must be a way to do it. If I was working on Javascript I would easily have code it but I am looking for a GWT solution.
Adam On 14 May, 21:48, kozura <[email protected]> wrote: > No, you need to detect the MouseOut event and deal with it there; > after that all bets are off of what mouse events you can get depending > on browser and OS. > > On May 13, 4:52 pm, Adam D <[email protected]> wrote: > > > > > > > Dear all, > > > I am trying to create a table similar to the one in google > > spreadsheet, where the user can with a mousedrag select cells. > > In google spreadsheet when I end my selection out of the browser the > > selection finalises, it actually puts a blue border on the last cell. > > > I have created a flextable and added some labels on it, I can detect > > mouseup and mousedown and the cellselection almost works when the > > mouse is in the flextable,but when someone starts the drags from > > inside the table and then releases the mouse outside the browser then > > the table continues to select cells without any mouse buttons being > > pressed. > > > Does anyone knows how to detect a mouseup event when it happens > > outside the browser? > > > Thank you all happy coding > > > Adam > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
