Selections are not always maintained when filtering (Example 4). #498

nilliams opened this Issue Dec 14, 2012 · 0 comments


None yet
2 participants

To replicate:

In Example 4

  • Select any row other than row 0.
  • Type ss into the filter box on the right. (All rows vanish as expected).
  • Press backspace twice to clear the filter box.
  • Rows reappear as expected, but the row selection is now lost.

Also noticed some interesting variations on the behaviour:

  • Select the row for Task 2
  • Type 22222 into the filter box
  • Backspace to clear the box
  • Row selection is now lost as above.
  • However, if you were to enter 2222 (one fewer 2), the selection would not be lost.
  • (Note: this is not really that consistent, so if I select Task 1, I would need to enter more 2s to lose the selection, but it does point to the fact that there seems to be some sort of threshold at which point it breaks).

I believe this Stack Overflow question is also the same problem.

I am looking into the code myself, but it's slow progress familiarising myself with it, so if you have any pointers in the short-term for even just a workaround I'd appreciate it - I had considered saving the selections myself by Id and re-applying them on every filter change for example.

mleibman closed this in 5b13782 Dec 19, 2012

@dholcombe dholcombe added a commit to dholcombe/SlickGrid that referenced this issue Aug 12, 2013

@dholcombe dholcombe Selections are not always maintained when filtering (Example 4)
…le 4).

mleibman fix #498 from Dec. 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment