[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Performance Problem with SWT Table

A table with 100 columns is definitely not typical ;-).  There isn't an
equivalent to VIRTUAL for horizontal scrolling.  My gut reaction is that
something should be redesigned from the UI perspective, similar to how a
Table with one million rows is not doing the user any favours
usability-wise.  I suppose that 100 columns is not as extreme though.

I can't think of any workarounds for you to try, so all I can suggest is
that you can log a bug report with SWT (
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform ) and if
possible provide a snippet that demonstrates the slow behaviour (
http://www.eclipse.org/swt/faq.php#whatisasnippet ).

Grant

"Dennis" <dennis.rietmann@xxxxxxxxx> wrote in message
news:eatl4t$7pe$1@xxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I have a table with approx. 100 columns. When I scroll though the table
> I notice a very laggy/sluggish behavior (e.g. the scrollbar slider stays
> somewhat behind the cursor). I already read about virtual tables, but
> this will only speedup the table if it has a lot of rows (TableItems)
> but won't help in my case with a lot of columns. I couldn't find some
> equivalent mechanism for columns.
> My table itself contains only text (but in 2 different colors, set with
> TableItem.setForeground()) and in the last row there is a button
> (TableEditor) in each column.
> Is there a way to speed things up or how do you usually deal with this
> problem (I hope I'm not the only one with this problem ;-))
>
> thanks in advance,
> Dennis