[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Table & TableViewer
|
- From: mcheung@xxxxxxxxxxx (michael)
- Date: Fri, 27 May 2005 19:16:47 +0000 (UTC)
- Newsgroups: eclipse.platform.swt
- Organization: not organized
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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