edit row and column