org.eclipse.rap icon indicating copy to clipboard operation
org.eclipse.rap copied to clipboard

Fix Grid getColumn calculation when row header is visible

Open kysmith-csg opened this issue 1 year ago • 2 comments

For the Nebula Grid, when the row header is visible, the getColumn calculation didn't account for the additional width, and so the incorrect column was returned. The width is now added to the accumulator and so the correct column is always returned, even when clicking on the very edge of the column.

Matches Nebula's code here: https://github.com/eclipse/nebula/blob/master/widgets/grid/org.eclipse.nebula.widgets.grid/src/org/eclipse/nebula/widgets/grid/Grid.java#L1262-L1268.

kysmith-csg avatar Jun 20 '24 15:06 kysmith-csg