Grid with Calculated Column
Posted: Mon Mar 16, 2009 9:57 am
Hi,
I am creating an example with Grid with 4 columns :-
Col 1 : Item code
Col 2 : Rate
Col 3 : Qty
Col 4 : Amt (i.e., Rate*Qty)
I want to auto calculate col 4. So which event/property I should try?
I already tried ON CHANGE event and COLUMNVALID properties. But calculation occurs only when user goes to the next row and then coming the the previous row.
I used IETM(nIndex) property to store the changes. Should I use ITEM(nIndex) or CELL(r, c)?
With best regards.
Sudip
I am creating an example with Grid with 4 columns :-
Col 1 : Item code
Col 2 : Rate
Col 3 : Qty
Col 4 : Amt (i.e., Rate*Qty)
I want to auto calculate col 4. So which event/property I should try?
I already tried ON CHANGE event and COLUMNVALID properties. But calculation occurs only when user goes to the next row and then coming the the previous row.
I used IETM(nIndex) property to store the changes. Should I use ITEM(nIndex) or CELL(r, c)?
With best regards.
Sudip