Problem: Cannot selected row in checkbox tableviewer ? [message #1826270] |
Wed, 22 April 2020 14:08  |
Eclipse User |
|
|
|
I'm using Eclipse RAP 3.12
sorry, cannot provide real code snippet because i have defined a lot of helper functions in my application.
- create CheckboxTableViewer (SWT.CHECK | SWT.VIRTUAL)
- Scrolling down
- cannot "check" the checkbox for those items. Only the preloaded items at the beginning of the table can be "checked".
Whenn the table is not virtual, the problem does not exist.
Sorry, cannot create bug report, because Eclipse.org bugzilla won't let me log in now (grrr).
|
|
|
|
Re: Problem: Cannot selected row in checkbox tableviewer ? [message #1826444 is a reply to message #1826314] |
Fri, 24 April 2020 22:09  |
Eclipse User |
|
|
|
I confirmed this can be reproduced using the RAP Controls Demo with a slight modification to the code in TableViewerTab to create a CheckboxTableViewer instead. You can see that if you create the viewer as VIRTUAL, then add 100 items, you can't check those items. If the viewer is not virtual it works as expected.
Here is the change I made in TableViewerTab#createViewer:
// viewer = new TableViewer( parent, getStyle() );
viewer = CheckboxTableViewer.newCheckList(parent, getStyle());
If I have some time this weekend or next week, I'll look into it and see if I can find the problem.
|
|
|
Powered by
FUDForum. Page generated in 0.03058 seconds