Hi,
We are using SWT Table in our application for large data
view / entry. While the table itself seems pretty ok so far (using via TableViewer
including the new M5 ILazyContentProvider), the column headers (TableColumn)
seems to be really weak. I searched bugzilla and found couple of quite dated
items:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=4572
tooltips in table columns (since 2001-10-11)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=23103 TableColumn doesnt support popup menus (since 2002-09-03)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=32322 TableColumn not firing mouse click events (since 2003-02-20)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=17871
TableColumn does not send MouseHover and MouseMove events (since 2002-05-26)
The question #1 is what is planned for 3.1?
(the last two items are quite essential – the rest we could in worst case
do ourselves)
What I somehow do not understand why a basic event
management (2 last items) is not implemented, while column drag and drop has
been done in M5 (which is more a sugar coating) and column reordering could be
done even before (we anyway use dedicated dialog to reorder / hide columns to
make it user friendly for 30+ columns). Is there an issue in implementing it on
all platforms? ( and we should then rather forget about these features
altogether )
If the answer is not sure in 3.1 (wontfix), would you have
suggestion what kind of workaround we could do on TableColumn in order still
use at least the Table itself?
What we need:
A. Tooltip for long column names (critical unless we B is
possible)
B. Set height of the TableColumn so that we can render
multi-line text (header only) – we can somehow live without if at least
the tooltip (mouse event) is there. Would this be ever possible or not
supported by native widgets at all?
C. Popup menu
Is there a workaround for getting mouse
events on TableColumn?
- We briefly checked that a transparent canvas over
the header (getting the events) seems not supported.
Or in the worst case would there be a
somehow “reasonable” way to write custom “TableColumn”
(compsite of canvases + sashes) ourselves that would drive the table widths via
hidden current TableColumn? (and have total control)
Thanks for your time.
Milos Lenoch
This message, including any attachments, is intended only for the person(s) to whom it is addressed. If you received it in error, please let us know and delete the message from your system. This message may be confidential and may fall under the duty of non-disclosure. Any use by others than the intended addressee is prohibited. Trema shall not be liable for any damage related to the electronic transmission of this message, such as failure or delay of its delivery, interception or manipulation by third parties, or transmission of viruses or other malicious code.