|Problems with Table(Viewer) and Columns [message #467767]
||Mon, 06 February 2006 13:28
Registered: July 2009
i have a table viewer with about 8 columns. i use SWT.FULL_SELECTION
to select the whole row, however if the columns aren't wide enough to
fill the table the selection doesn't reach to the right end of the
therefor i added an empty column at the end which is always resized to
fill the table space. this works fine if i resize the view, but it
doesn't work if i resize a column. the vertical scrollbar isn't updated.
to update the scrollbar you have to start scrolling.
furthermore, i would like set the minimumsize of a column to 40 pixel.
therefor i added a ControlListener to each TableColumn to check if the
column is smaller than 40 pixel. but my approach creates very bad
the table of Apple ITunes is an example of what i am trying to
implement. has anybody implemented something like this yet?
Powered by FUDForum
. Page generated in 0.01908 seconds