It’s spring, it’s June, it’s time for the new Eclipse and RAP release. This time we are happy to announce that one of the most requested features, the Nebula Grid – cell selection, landed in RAP 3.13.
All of you who are familiar with JFace
Tree/TableViewer know the
FocusCellOwnerDrawHighlighter classes. These classes allow you to highlight and select a particular cell in the SWT Tree and Table widgets. Unfortunately, due to the client-server RAP architecture, the use of these classes always leads to a certain delay and not so good user experience. With the new implementation of cell selection in the Nebula Grid, navigation between cells (keyboard and mouse) and highlighting selected cells is completely done on the client. This improves performance significantly. Moreover, it is now possible to select multiple cells by dragging with the mouse.
In addition to the cell selection, we have also added support for fixed columns – columns that are excluded from scrolling. You can activate this feature in a similar way as in the Tree/Table widgets:
Grid grid = new Grid( parent, SWT.NONE ); gtid.setData( RWT.FIXED_COLUMNS, Integer.valueOf( 2 ) );
The above code excludes the first two columns from scrolling.
Thanks to our Australian partner, who not only sponsored the development but also helped with early testing and suggestions for improvements, we could successfully deliver this feature in RAP 3.13.