PyWorkflowApp / visual-programming

A Python Visual Programming Workspace for Data Science
MIT License
33 stars 12 forks source link

fix: Add missing row to table display by adding extra index #92

Closed reelmatt closed 4 years ago

reelmatt commented 4 years ago

The fix is easier than I thought. To account for the grid's index 0 being the column data, add 1 to rowCount and subtract 1 from rowIndex when creating the cell. So data is displayed like:

Row 0 == column
Row 1 == row 1-1 == row 0
...

This shouldn't cause any off-by-1 errors, since the difference is accounted for by the column data.