Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8184473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:30:55+00:00 2026-06-07T01:30:55+00:00

For a tree with 2 columns like, TreeColumn column1 = new TreeColumn(myTreeViewer.getTree(), SWT.LEFT); column1.setText(Column

  • 0

For a tree with 2 columns like,

TreeColumn column1 = new TreeColumn(myTreeViewer.getTree(), SWT.LEFT);
column1.setText("Column 1");
column1.setWidth(400);
TreeColumn column2 = new TreeColumn(myTreeViewer.getTree(), SWT.LEFT);
column2.setText("Column 2");
column2.setWidth(100);

I can only select the items in the first column.

I can see that the selection is disabled in the 2nd column so,

Ho can I enable selection of items in the 2nd column ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T01:30:58+00:00Added an answer on June 7, 2026 at 1:30 am

    Add SWT.FULL_SELECTION to the styles when creating the Tree widget. This will allow you to click on a cell in either column to select a row. Note that you cannot select cells in SWT Table and Tree widgets. Only rows can be selected.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two columns: the left one is a Canvas containing an mx:Tree and
I would like to insert a new node into my Tree. I develop with
I'd like to create a tree structure from JSON, but with multiple columns that
I have a tree table with two columns on a page. The first one
I have a hierarchical (tree structure) SQL Server table TEmployee with following columns Id
I'm trying to sort a column of data in a GTK tree view non-alphabetically.
Suppose, I have a float column and a a b-tree index and a million
I'm using ExtJs 3.4 and I have a TreeGrid (Ext.ux.tree.TreeGrid) with a column model.
I have a tree of nodes like this: class Node: next # the next
Given a table that represents a hierarchical tree structure and has three columns ID

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.