[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Problems with Table
|
Two questions:
1) Unselecting all rows in a table
How can I unselect all rows in a table? If I just created the table,
getSelectionIndex() returns -1 indicating that no row is selected. After the
user has selected a row however, I was not succesful to unselect that row
again: setSelectionIndex(-1) seems to be ignored...
2) I want to use a Table just for displaying data and the user should not be
able to do any manipulation. When I call setEnabled(false) however, fore-
and background color get greyed out. Is there another way to achieve a
similiar behavior without setEnabled() where colors still work?
Thanks,
Thomas