Posted 1 October 2018, 6:56 am EST
Hi,
I have some rows in my spread where I have set selection on row using ActiveRowIndex and AddSelection(). using this row is getting selected.
Later based on some condition I want to remove selection from that row so I have used
sprdProduct.ActiveSheet.ActiveRowIndex = -1;
sprdProduct.ActiveSheet.ClearSelection();
but first row is getting selected instead of removing selection.
I dont want to select any row.
Please advise.