Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Selection event from grid when checking check box.
Selection event from grid when checking check box. [message #23281] Wed, 10 January 2007 15:10 Go to next message
Eclipse User
Originally posted by: johan.kannala.comsol.com

Hi Chris! =)

I noticed that if I have a grid column with check boxes, I get a
selection event when I check or un-check a check box, even though the
"real selection" in the grid (the blue cells) hasn't changed. Is this
the intended behavior or should I file a bug report?

/Johan
Re: Selection event from grid when checking check box. [message #23306 is a reply to message #23281] Wed, 10 January 2007 15:17 Go to previous message
Chris Gross is currently offline Chris Gross
Messages: 253
Registered: July 2009
Senior Member
Hi Johan,

Yes its intended. This matches how the normal Table works. When the
selection event is triggered due to a checkbox change the event.detail =
SWT.CHECK and event.index = column of containing the checkbox.

Regards,
-Chris

Johan Kannala wrote:
> Hi Chris! =)
>
> I noticed that if I have a grid column with check boxes, I get a
> selection event when I check or un-check a check box, even though the
> "real selection" in the grid (the blue cells) hasn't changed. Is this
> the intended behavior or should I file a bug report?
>
> /Johan
Re: Selection event from grid when checking check box. [message #574923 is a reply to message #23281] Wed, 10 January 2007 15:17 Go to previous message
Chris Gross is currently offline Chris Gross
Messages: 471
Registered: July 2009
Senior Member
Hi Johan,

Yes its intended. This matches how the normal Table works. When the
selection event is triggered due to a checkbox change the event.detail =
SWT.CHECK and event.index = column of containing the checkbox.

Regards,
-Chris

Johan Kannala wrote:
> Hi Chris! =)
>
> I noticed that if I have a grid column with check boxes, I get a
> selection event when I check or un-check a check box, even though the
> "real selection" in the grid (the blue cells) hasn't changed. Is this
> the intended behavior or should I file a bug report?
>
> /Johan
Previous Topic:Selection event from grid when checking check box.
Next Topic:Using CompositeTable as a basic Table replacement
Goto Forum:
  


Current Time: Sat Oct 25 01:48:34 GMT 2014

Powered by FUDForum. Page generated in 0.01594 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software