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 9128643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:33:49+00:00 2026-06-17T07:33:49+00:00

I am trying to render in SWT the following table with following rows: name1

  • 0

I am trying to render in SWT the following table with following rows:

name1 | anotherProperty |BUTTON1(EDIT) BUTTON2(REMOVE) BUTTON3(DEACTIVATE)

Using SWT – Tableviewer adding a remove button to a column in the table I was able to render just one button by column.

Is there a way to do this?

  • 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-17T07:33:50+00:00Added an answer on June 17, 2026 at 7:33 am

    In the same way that you are adding a single button, you can also add multiple buttons but for those buttons you will need an additional container. You can try out something like below:

    col.setLabelProvider(new ColumnLabelProvider() {
      @Override
      public void update(ViewerCell cell) {
         TableItem item = (TableItem) cell.getItem();
    
         Composite buttonPane = new Composite(getTable(), SWT.NONE);
         buttonPane.setLayout(new FillLayout());
    
         Button button = new Button(buttonPane,SWT.NONE);
         button.setText("Edit");
    
         button = new Button(buttonPane,SWT.NONE);
         button.setText("Remove");
    
         button = new Button(buttonPane,SWT.NONE);
         button.setText("Deactivate");
    
         TableEditor editor = new TableEditor(getTable());
         editor.grabHorizontal  = true;
         editor.grabVertical = true;
         editor.setEditor(buttonPane, item, columnIndex);
         editor.layout();
         }
      });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to render a table using javascript. The following is the html and
I am currently trying to render small fonts (Tahoma regular 8) using the SWT
I'm trying to render the following HTML code using xslt: <foo:bar href=[MYURL]/> I created
I am trying to render a table using adf treeTable component. The table has
I am trying to render some DIV inside a table td tag using HTML
I've been trying to render a webpage using the Adobe Flex / Flash builder
I am trying to render template not using the Symfony2 required format 'Bundle:Controller:file_name', but
I am trying to render a list within a list while using the groovy
I am trying to render a square, using GL_QUADS, but every time it renders
Trying to render a sphere using isgl3d. The problem is that only say 75%

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.