Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335295 - [Table] Scrollbar are disabled when table is disabled
Summary: [Table] Scrollbar are disabled when table is disabled
Status: RESOLVED INVALID
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: PC Windows XP
: P3 major with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 05:54 EST by Opfermann Cédric CLA
Modified: 2011-01-25 07:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Opfermann Cédric CLA 2011-01-25 05:54:57 EST
Build Identifier: 20100917-0705

When a Table is disabled using setEnabled(false), the associated vertical scrollbar is also disabled.
Maybe this is a good behavior in some cases but in most case, this avoid the user to watch the whole values in the table.

I don't know how the javascript/html generation work but in the fact, a <div> is created above the scrollbar which disables it. Removing this div is enought to get everything work.

Reproducible: Always

Steps to Reproduce:
1. Create a table in a view with a lot of values
2. Call the setEnabled(false) method
3. Watch that the scrollbar is disabled.
Comment 1 Ivan Furnadjiev CLA 2011-01-25 06:10:01 EST
Just checked it in SWT and SWT behaves exactly the same - scrollbars are disabled too. For me this bug is invalid.
Comment 2 Ralf Sternberg CLA 2011-01-25 07:10:26 EST
I agree with Ivan. Disabled is different from read-only behavior. Disabled means the the control cannot be operated anymore.