Implemented selectViaTreeIndex in gridEdit.