[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: TableEditor Question/Proglem

Part 1:  Wow.  Need a small stand alone snippet that shows then problem.
Just setting the data into the items should redraw it.
Part 2:  The selection of the parent table cannot overwrite a child in the
table.

"Michael Kilgore" <mfkilgore@xxxxxxxxx> wrote in message
news:csqt12$inv$1@xxxxxxxxxxxxxxxxxx
>
>
> 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.