table question [message #503884] |
Wed, 16 December 2009 04:03  |
Eclipse User |
|
|
|
Originally posted by: niels.lippke.airpas.com
Hi,
the SWT table widget has a nice feature, which allows packing of columns by
double-clicking on the column header seperator (at least under windows). To
simulate the behaviour using RAP, I need to catch the click event, if the
resizing-cursor is shown. But the are no click events.
Is this due to the javascript-implementation of the table? Or am I missing
something?
The function for packing is already there (TableColumn#pack()).
Regards, Niels
|
|
|
Re: table question [message #504105 is a reply to message #503884] |
Thu, 17 December 2009 04:26  |
Eclipse User |
|
|
|
Hi Niels,
I've checked this in SWT and there is no such click event either.
Currently, I have no idea how you can achieve this.
Best,
Ivan
On 12/16/2009 11:03, Niels Lippke wrote:
> Hi,
>
> the SWT table widget has a nice feature, which allows packing of
> columns by double-clicking on the column header seperator (at least
> under windows). To simulate the behaviour using RAP, I need to catch
> the click event, if the resizing-cursor is shown. But the are no click
> events.
>
> Is this due to the javascript-implementation of the table? Or am I
> missing something?
>
> The function for packing is already there (TableColumn#pack()).
>
> Regards, Niels
|
|
|
Re: table question [message #504141 is a reply to message #503884] |
Thu, 17 December 2009 02:16  |
Eclipse User |
|
|
|
On 16.12.2009 10:03, Niels Lippke wrote:
> Hi,
>
> the SWT table widget has a nice feature, which allows packing of columns
> by double-clicking on the column header seperator (at least under
> windows). To simulate the behaviour using RAP, I need to catch the click
> event, if the resizing-cursor is shown. But the are no click events.
>
> Is this due to the javascript-implementation of the table? Or am I
> missing something?
This feature is just not yet implemented. See this enhancement request:
207055: [Tree][Table] doubleclick does not pack columns
https://bugs.eclipse.org/bugs/show_bug.cgi?id=207055
>
> The function for packing is already there (TableColumn#pack()).
>
> Regards, Niels
|
|
|
Powered by
FUDForum. Page generated in 0.09379 seconds