Re: Stop Cell Selections in a Grid

2010-06-18 Thread Stefan Bachert
 Stefan,

I can't find a way to apply Event.sinkEvents to selections within my
Grid. Can you give me a basic example of how I would apply that to a
grid for selections?

~Scott

Hi Scott,

I do not answer to personal mail without a support contract ;-)


The mentioned idea is, that a selection starts with some kind of mouse
click.
When you catch this click and avoid default handling, this may
succeed.
However, a specific selection is not known to me.

Your problem is a general one.

The google group app behaves the same as you describes. You ca do
selection regardless of you application. In such cases you will detect
that we are still using browser which allows to copy and paste html.

On thing i detected recently is that a absolute positioned panel (like
LayoutPanel) do limit the selection across widget.

However, maybe the easiest might be to ignore this requirement as it
seems to lead to a bunch of hacks.

Stefan Bachert
http://gwtworld.de





On Jun 18, 6:12 am, spierce7 spier...@gmail.com wrote:
 I was playing around with the CSS option, and it doesn't work in IE. I
 need something that works in all major browsers.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Stop Cell Selections in a Grid

2010-06-17 Thread spierce7
Hey, I have a grid where I have some click and drag features on, but
the problem is whenever I drag, the grid will select multiple rows of
cells in the grid. How can I keep this from happening, besides using
the css select option:

.notclickable { cursor: default; user-select: none; -moz-user-select:
none; -webkit-user-select: none; } 

That only works in a few browsers, and I need something to work on all
major browsers. Someone recommended the Event.sinkEvents but I have no
idea how to apply this to a grid or other objects. Any help in any
direction would be appreciated!

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Stop Cell Selections in a Grid

2010-06-17 Thread spierce7
I was playing around with the CSS option, and it doesn't work in IE. I
need something that works in all major browsers.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.