EvHaus / doby-grid

An HTML table element on steroids.
Other
14 stars 5 forks source link

Fixed problem with undefined cell nodes #185

Open ckosmowski opened 9 years ago

ckosmowski commented 9 years ago

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.