• Post Reply Bookmark Topic Watch Topic
  • New Topic

SWT - grid/matrix with selection

 
nikolas Kris
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to find the best way to implement the following in SWT:

I need to have a grid with elements, that the user can select, optimally by click and drag.

Imagine I have a grid / matrix of 15x10 elements. The user should be able to start dragging from one element towards another, and select a range. Then if the user wants to add extra elements to the selection, can click pressing ctrl at the same time, to form a group of elements.

I have tried doing something like that with a table, but I am not sure it is really what I need...

Can you suggest an implementation and provide some code examples maybe?

Thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!