Skip to main content


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 UserFriend
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 GrossFriend
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 GrossFriend
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: Thu Apr 18 18:54:29 GMT 2024

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

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

Back to the top