How to edit the calculation grid