webismymind / editablegrid

EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
http://www.editablegrid.net
Other
795 stars 272 forks source link

editablegrid.js at line 556 #188

Open digital88 opened 6 years ago

digital88 commented 6 years ago

In editablegrid.js at line 556 var tr = this.getRow(rowIndex); Variable tr can be null if rowIndex points to row which in another page (when using pagination). Next line will throw exception in this case. Maybe add check like if (tr)