Thank you for the test case, much appreciated.
We have updated your test case with a working example. To achieve your requirement we need to use the "FOEX Grid Set Column Value on Column Change" action which will update your "total salary" column when the "basic" or "allowance" values change.
You need to setup your actions to listen to the "FOEX Grid - Before Edit" event. e.g.
And here is the result