| Checkbox GridColumn Event Handling [message #921454] |
Mon, 24 September 2012 02:07  |
Ashish Rawat Messages: 8 Registered: June 2012 |
Junior Member |
|
|
Hi,
I am trying to develop a GUI which has a Grid with 10 to 15 columns.
First column is a label, then a column group of 4-5 columns and then another column group of 4 columns and last column is with Text Editor.
The two column groups contains the columns of check boxes with some text associated with checkbox.
Now I am trying to check which checkbox is clicked in the Grid, based on that i have to do some handling.
To implement this kind of GUI, I am implementing the selection listener on Grid. I can find out whether the check box is clicked or not through following code:
public void widgetSelected(SelectionEvent e) {
if(e.detail == SWT.CHECK)
{
System.out.println("~~~~~~~~~~ CheckBox CLICKED ~~~~~~~~~~~");
}
}
After getting this message printed on my console, i am unable to find out which check box is clicked. Also I am using column spanning in column groups.
Please help me out ASAP.
Thanks in advance.
Regards,
Ashish Rawat
[Updated on: Mon, 24 September 2012 04:03] Report message to a moderator
|
|
|