Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324287

Summary: Table and Tree should enable by default header and line visible
Product: [Eclipse Project] Platform Reporter: Vijay Raj <vijay.rajonline>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: grant_gayed, remy.suen
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Vijay Raj CLA 2010-09-02 06:06:58 EDT
Build Identifier: I20091030-1201

Every time you write code for tree or table you have to enable header visible and lines visible by calling setHeaderVisible(true) and setLinesVisible(true)..

although this is a small code but why shouldn't it be enable by default cuz normally tables and trees are used like that...  

Reproducible: Always
Comment 1 Grant Gayed CLA 2010-09-02 10:10:53 EDT
Tables/Trees without headers and lines are actually pretty common (eg.- any time you see what looks like a list with icons it's actually a Table without lines or header), so I disagree that this would be a valuable change to make.

That being said, even if this was a valuable change, this behaviour could not be changed now anyways, as it would break all existing Table/Tree users out there that depend on not getting these by default.  Closing report.