0

I have a grid with the following 3 columns.enter image description here

I want to make the Spend & discount fields editable.But one should be editable at a time.If am editing discount column then spend field should not be editable and the value of spend field should changed to the following based on the value in discount

Spend= Spend before Discount +(Spend before Discount*Discount/100);

vice versa for editing Spend field

How can i do this?I request for a complete example.Some one please help me

Thanks in advance

4

1 回答 1

1

监听beforeedit被触发的事件。如果您return false的编辑将被取消,因此您可以在那里办理登机手续。

于 2013-06-01T06:08:07.007 回答