Skip to content

Fixed problem with undefined cell nodes#185

Open
ckosmowski wants to merge 1 commit into
EvHaus:masterfrom
ckosmowski:fix-undefinedcellnode
Open

Fixed problem with undefined cell nodes#185
ckosmowski wants to merge 1 commit into
EvHaus:masterfrom
ckosmowski:fix-undefinedcellnode

Conversation

@ckosmowski
Copy link
Copy Markdown
Collaborator

I ran into problems when cache.nodes[row].cellNodesByColumnIdx[nodecell] is undefined. The call to [0] will through an error. The old behaviour (before there was a call to [0]) was that getNodeCell() will return undefined in this situation.

I added a check to make sure undefined is returned again.

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.

1 participant