ghiscoding/Angular-Slickgrid

cell highlighted stays on the same position even when filtered

ptatoChi opened this issue · 1 comments

Describe the bug

I have a dataset with hundreds of rows. I used slickGrid.setCellCssStyles(highlight_${[columnId]}${row}, hash); to highlight some cells
image

now when i filter them using the column filter, the highlight remains at the same position regardless of the data
image

Reproduction

  1. Have angular 16 and the latest angular-slickgrid installed
  2. Have a sample dataset with filters enabled
  3. Highlight using setCellCssStyles function to one of the cell
  4. Filter the dataset

Expectation

No response

Environment Info

Angular 16
Angular-slickgrid 6

Validations

That's not an issue, that is how it was implemented in SlickGrid core library and for that reason I'm closing this "as designed". There's no logic at all for the cell styling, you have to deal with it yourself