changes in gridEdit.js