Problem with TableViewer in Column/Table/Browser resizing and scroll bar event. [message #506341] |
Thu, 07 January 2010 02:58 |
tingel christian Messages: 46 Registered: December 2009 |
Member |
|
|
Hello everyone, It's me again...
I need to display three buttons in just one tableviewer cell and used a TableEditor in a subclass of CellLabelProvider to implement the requirement.
Everything works fine but problem occurs when the tablecolumn or table or browser is resized or scroll bars are moved.
1, When I resize any column in the table viewer but the one containing the customized cell, all related columns are relocated with the resizing event, but all the buttons just stay where they were before resizing...
2, And when I resize the column containing the customized cell, all buttons just get disappeared!
3, The same scenario appears when I maximize the browser or just scroll the horizontal scroll bar.
The first problem has been solved by adding an ControlListener to every column to handle the resizing event, but the rests still remain unsolvable.
So, has anyone ever met with any similar problem as I described above and do you have any ideas to resolve these problems?
Thank you very much!
PS: the version of my rap is 1.2 and browsers are IE8 and firefox 3.5.
[Updated on: Thu, 07 January 2010 08:01] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02730 seconds