Search code examples
javaeclipseeclipse-rcpeclipse-rap

Eclipse RCP and RAP customizable table control


I am looking for a table control that is customizable and works both on RCP and RAP, single source.

By customizable I mean this:

  • a cell from this table can also be splitted again in rows and columns. Or should be possible for the cell renderer to draw this cell to look like another table
  • it should be possible to have a group of columns fixed to the left side (but not necessary, because I think some workaround would be possible)
  • should be possible to have columngroups

Maybe some of you can help me with such a control, maybe some names so I can do some research on.


Solution

  • RAP 3.0 (to be released June 2015 with Eclipse Mars) contains an implementation of the Nebula Grid. This widget supports column groups.

    RAP Trees and Tables support a number of columns fixed to the left edge via setData(RWT.FIXED_COLUMS, Boolean.TRUE). This feature is not yet available for Grid, but chances are it can be added.

    Splitting cells is not yet supported in RAP, however, using the support for HTML markup it could probably be simulated.