CellValueChange Client Side event for igGrid and igHirarchicalGrid
For example = Product Rate * Product Qty = Total Amount
Write a Cell value change event for Product Rate & Product Qty Columns.
Hello Rocky,
I have been looking into your question and I can suggest you check our api documentation on iggrid where you can find all of the available events for this control. For your particular scenario I can suggest you use the editRowsEnded event and change the value of the cell based on your formula:
http://help.infragistics.com/jQuery/2012.1/ui.iggridupdating
If you need any additional assistance on this matter please feel free to ask.
I am just checking have you been able to resolve your issue? If you still need any assistance on the matter do not hesitate to ask.
Hi Thanks for the reply. I could not find exactly I was looking as a solution Client side event CellValueChange, But I managed to complete my feature by adding a template column with Text Box in it and Managed to Write code on TextBox onChange event.
Thanks
I am really glad that you manage to resolve this issue. Thank you for sharing your approach with us. Another thing that you can try is to set the EditMode to “cell” in the Updating feature and handle the editCellEnded evnt which will fires just after the cell exit edit mode.
Thanks Elena,
I was looking for an example for editCellEnded. I could not find it. Do you have a sample? Also, I have a hierarchical grid.
Hello,
Please find the attached sample where I show you how you can handle this event and make some changes to the data in it.
I got it working thanks
I was just wondering did you have a chance to try my suggestion. If you still need any assistance on the matter, please do not hesitate to ask.