Hello,
i'm using webdatagrid 2012 vol 1 with unbound columns, and i'd like to recalculate unbound columns when i exit cell editting mode in adding row . Please tell me how to do that. Sorry for my poor English.
Hello ThuyNga Nguyen,
I'm glad you solved your issues.
Feel free to contact me if you have any other questions.
Hi Nikolay,
i've solved my problems. Pls forget my last question. Thanks for your help.
Thank you for your code, with some modify it works now. I have another question: i set BatchUpdating=true in my webdatagrid, but when i add new row, after pressing enter key, the new row is disappeared. If i run my webdatagrid alone, it works well. I include my code here, pls help me to fix it. Thank you in advance.
Hi,
This is a sample event handler for ExitingEditMode which implements the desired functionality:
Please let me know if you have any questions.
Thank you for replying me soon. i'd like to explain my question in more detail: i have a webdatagrid with 5 columns: old_tax, new_tax, unitprice,quantity,price. Quantity and price are unbound columns: quantity=new_tax-old_tax, price=quantity*unitprice. And i 'd like when i add a new row, right when i exit editing mode from cell old_tax or new_tax or unitprice, i can get value from these cells to calculate new value for quantity and price cells.