Skip to content
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 cell contents not appended when > 15 cols #68

Open
wants to merge 2 commits into
base: 2.0-frozenRowsAndColumns
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Frozen cell contents not appended when > 15 cols
This fixes an issue where the frozen cells show up blank when there is a large number of columns and the user has scrolled horizontally. 

to reproduce: 
  1. on one of the example files add ~ 50 columns programatically with perhaps 100 rows (you have to scroll to trigger the virtual rendering). 
  2. load the page and scroll horizontally towards the end of the list of columns
  3. scroll vertically. Note that the frozen column cells remain blank
Jared Scott committed Feb 7, 2014

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit f09751b2ea7e480bf15b7e6254e5240aa08507fe
2 changes: 1 addition & 1 deletion slick.grid.js
Original file line number Diff line number Diff line change
@@ -1944,7 +1944,7 @@ if (typeof Slick === "undefined") {
appendCellHtml(stringArrayL, row, i, colspan, d);
}
} else if (( options.frozenColumn > -1 ) && ( i <= options.frozenColumn )) {
appendCellHtml(stringArrayL, row, i, colspan);
appendCellHtml(stringArrayL, row, i, colspan, d);
}

if (colspan > 1) {