SWT Checkbox [message #950855] |
Sat, 20 October 2012 03:01  |
Eclipse User |
|
|
|
Hi,
I am developing an application where we have table contaning checkbox in 1st column. These checkbox are row wise added through table item.In Column header i have one more checkbox which will do select all/deselect all.
My issue is i am not able to create select all event. Please help me how to achiew this.
Regards,
Prashant
|
|
|
Re: SWT Checkbox [message #954140 is a reply to message #950855] |
Mon, 22 October 2012 16:26  |
Eclipse User |
|
|
|
Hi Prashant,
There isn't a way to put a real control into a header, so the only way
to do something like this would be to put an image in the header that
hints that a click in the header will do a Check All (eg.- an image of a
checked checkbox), and add a SelectionListener to the column to detect a
click on its header.
Alternatively, it's not uncommon to have Check All/Uncheck All buttons
under a table like this.
Grant
On 10/20/2012 1:49 PM, Prashant p wrote:
> Hi,
>
> I am developing an application where we have table contaning checkbox in
> 1st column. These checkbox are row wise added through table item.In
> Column header i have one more checkbox which will do select all/deselect
> all.
>
> My issue is i am not able to create select all event. Please help me how
> to achiew this.
>
> Regards,
> Prashant
|
|
|
Powered by
FUDForum. Page generated in 0.04466 seconds