mleibman / SlickGrid

A lightning fast JavaScript grid/spreadsheet
http://wiki.github.com/mleibman/SlickGrid
MIT License
6.81k stars 1.98k forks source link

Group header displayed incorrectly when scrolling #1009

Closed dst-at closed 10 years ago

dst-at commented 10 years ago

When using the group functionality in SlickGrid i get incorrectly positioned group headers in my grid until i scroll past them for the first time (happens in Chrome/Firefox/IE).

Steps to reproduce:

  1. Load up the grouping example
  2. Set to 50k rows
  3. Collapse all groups
  4. Unfold only the first group ("Duration: 0")
  5. Scroll down a bit and you will suddenly find the "Duration: 22" group header between the rows of "Duration 0" items.

optional 6. Scroll past it and back up and it's gone.

It seems like one of the group headers somehow doesn't have its position/view status updated when unfolding the top group. I will try to find the root of the problem and report back, but i'm still pretty new to SlickGrid so it might take a while to sift through the code.

dst-at commented 10 years ago

Just noticed that this is the same as issue #896, which offers a fix.