The below assumes you are editing COLUMN 0 and the Tagpath is in COLUMN 1
Adjust as needed.
if colIndex==0:
tPath = self.data.getValueAt(rowIndex,1)
system.tag.write(tPath,newValue)
self.data = system.dataset.setValue(self.data, rowIndex, colIndex, newValue)
print tPath