-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frozen Bottom Rows should render only the rows in the viewport #727
Comments
From what I remember only "-1" is the only negative value that is allowed and equals to "undefined" or "unset" frozen. The Just a question on the release, the last 2 releases didn't automatically create the GitHub Release, I had to create them myself by copying the changelog. That used to work automatically with the GITHUB_TOKEN in the |
Fairly easy fix once I got the time to look at it! Should improve the performance of a number of unit tests as well. Also have regenerated the .env file which had disappeared somehow. I did have a bad corruption of Windows last time I went away and had to recover, so that might have been it. |
@6pac just a small side note, I don't think commits with |
@ghiscoding my bad, I keep getting it wrong. have made some notes for myself. |
no problem, you'll get the hang of it 😉 |
example-frozen-rows
takes a long time to render when I open the page (maybe 5-6 seconds).Debugging it led to
SlickGrid/slick.grid.js
Lines 4332 to 4338 in bb40f4d
frozenBottom is true and the frozen row is set to -5. A quick question @ghiscoding , does a negative row number mean 5 rows up from the end of the dataset? If not, I'm not sure how -5 was selected.
The example is then rendering everything from there to the end of the dataset, ie. all 50,000 rows are having a
<div>
created for them. Hence the long pause.Surely the intent is to render just the frozen rows in the viewport. Or perhaps we are meant to render just the last 5 rows?
I'm happy to have a further look, I just suspect @ghiscoding this is an issue you will instantly know how to fix.
The text was updated successfully, but these errors were encountered: