|
|
|
Re: Table & TableViewer [message #456293 is a reply to message #456254] |
Mon, 30 May 2005 08:20 |
MÃ¥ns af Klercker Messages: 15 Registered: July 2009 |
Junior Member |
|
|
Hi Michael,
I think you're pretty much screwed when wanting to create an excel-like
experience with Table (+ TableViewer). It *is* the native Table widget,
but Excel sure isn't. We are doing very basic cell editing stuff (far
from Excel richness) in our application and have had to resort to doing
most things for ourselves. The property view in Eclipse is pretty much
the type of things you can expect from Table and TableViewer, which is
fair, because I suspect that is what it was mostly designed for.
As for commercial/other table implementations, there is one called
k-table and some guy also recently released a draw2D-based own table
implemenation that seems to be a lot richer than Table. Search the news
groups...
cheers,
/Måns
michael wrote:
> I don't know if this is the right place to post, since what I am talking
> about is Jface related.
>
> For the table's style, you are allow to use SWT.FULL_SELECTION when you
> want to select the whole row when you are doing mouse down to your
> table. However, when I take this out and try to do highlight on a single
> cell, it does not work.
>
> Table table = new Table(parent, SWT.single);
> TableViewer viewer = new TableViewer(table);
> ...
>
> I can only do a single selection to my first column of the table, and
> other columns will not response to my mouse down event at all. I will
> want to reproduce the functionality like the excel spreadsheet in swt. I
> am writing a data entry appliaction in rcp. If TableViewer is not rich
> enough, does anyone know if any commerical table controls are availabel?
> thanks,
>
> Michael
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06111 seconds