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

Update to Handsontable 13.0.1 to enable batch() quick render. #409

Merged
merged 5 commits into from
Sep 15, 2023

Conversation

ddooley
Copy link
Collaborator

@ddooley ddooley commented Sep 9, 2023

2ndary code changes required for handsontable upgrade below:

.alter('insert_row'...) -> .alter('insert_row_below' ...

hiddenColsPlugin.showColumns(hiddenColsPlugin.hiddenColumns); -> 
const hidden = hiddenColsPlugin.getHiddenColumns(); 
etc.

Remaining problem is with flatpickr datepicker?

.alter('insert_row'...) -> .alter('insert_row_below' ...

hiddenColsPlugin.showColumns(hiddenColsPlugin.hiddenColumns);
-> const hidden = hiddenColsPlugin.getHiddenColumns();
etc.
Remaining problem is with flatpickr datepicker?
Change on Handsontable.dom method name
Includes new DataHarmonizer .fields property = getFields() call.
Changing to merge provenanceChanges and cellChanges array for rendering efficiency.
@ddooley ddooley changed the title WIP: Test update to Handsontable 13.0.1 to enable batch() quick render. Update to Handsontable 13.0.1 to enable batch() quick render. Sep 14, 2023
@kennethbruskiewicz
Copy link
Collaborator

Remaining problem is with flatpickr datepicker?

I'll close the PR since it looks to me like a straightforward upgrade, but could you explain this issue?

@kennethbruskiewicz kennethbruskiewicz merged commit 858e368 into master Sep 15, 2023
1 check passed
@ddooley
Copy link
Collaborator Author

ddooley commented Sep 16, 2023

Hi Kenneth - issue is explained in #408 . It turns out solution may not have required a Handsontable upgrade but I did it anyways (and Patrick was ok with upgrade).

@ddooley
Copy link
Collaborator Author

ddooley commented Sep 16, 2023

Also it does introduce a new property for a loaded schema template: "this.fields = this.getFields(); " . This means code can be a bit more efficient elsewhere by replacing .getFields() calls with this.fields references.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants