Update DataGridRenderer.js

subtract 1 from row num to exclude added headers