Closed hwlv closed 3 months ago
cc @zewa666
The hidden
column property was something that was added not that long ago in the 6pac/slickgrid
project but it is not not fully supported. The Grid Presets is much more supported to hide columns.
EDIT
I see major differences between the 2 approaches
hidden
column definition will however container all columns but skip the hidden
cols (we can see below that .l6.r6
col is skipped in the DOM) (array does include hidden cols)Another distinction is that if I do a selection from 0,0 to H3, I get a different toCell
(notice below to cell 8 vs 9)
hidden
column definition: {"fromRow":0,"fromCell":0,"toRow":2,"toCell":9}
hidden
is counted in cols array){"fromRow":0,"fromCell":0,"toRow":3,"toCell":8}
Describe the bug
When using the enableExcelCopyBuffer option set to true in slickgrid-universal, I’ve encountered an issue where selecting a range of cells causes the selection area to be offset if there is a hidden column in the grid. It appears that the hidden column is being included in the calculations, leading to discrepancies between the mouse position and the selected cells.
Reproduction
Which Framework are you using?
React
Environment Info
Validations