Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problem: Cannot selected row in checkbox tableviewer ?
Problem: Cannot selected row in checkbox tableviewer ? [message #1826270] Wed, 22 April 2020 14:08 Go to next message
Karl Mehltretter is currently offline Karl MehltretterFriend
Messages: 9
Registered: May 2016
Junior Member
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 #1826314 is a reply to message #1826270] Thu, 23 April 2020 11:34 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,

in order to reproduce and fix the issue we need a simple self-running snippet that demonstrate the problem.

Best regards,
Ivan
Re: Problem: Cannot selected row in checkbox tableviewer ? [message #1826444 is a reply to message #1826314] Fri, 24 April 2020 22:09 Go to previous message
Cole Markham is currently offline Cole MarkhamFriend
Messages: 150
Registered: July 2009
Location: College Station, TX
Senior Member

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.
Previous Topic:rap GC
Next Topic:RemoteObject-based Custom widget development
Goto Forum:
  


Current Time: Thu Apr 25 03:37:09 GMT 2024

Powered by FUDForum. Page generated in 0.03569 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top