[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] TableEditor Question/Proglem
|
- From: Michael Kilgore <mfkilgore@xxxxxxxxx>
- Date: Fri, 21 Jan 2005 07:36:51 -0500
- Newsgroups: eclipse.platform.swt
- Organization: EclipseCorner
- User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
I am using StyledText in a TableEditor to display a column of text that
has "fancy" formats in it. Everything works exactly as I expect until I
need to refdraw the table (clear the old data, draw new). The table is
redrawn by I do not see the the changes, they are in fact there, until I
hit the scrollbar (any direction) on the table itself. This causes the
current data to be displayed.
To redraw I am doing the following (tried various combinations):
tableResult.clearAll();
tableResult.removeAll();
// load new data for display
tableResult.redraw();
My second question relates to selection bar. This is probably the way
it works, given my limited understanding of TableEditor... I have
selected to have the selection bar extend across the table. It does not
extend across my StyledText which happens to be the largest column. The
result looks a bit odd to the user.
I am on Windows, Eclipse 3.1M4
Thanks in advance.