asked
2014-01-19 13:55:20 +0800
Senthilchettyin 2623 ● 3 ● 8
http://emrpms.blogspot.in...
Hi
I am using listbox inline editing. Column contains text box and decimal boxes. The problem is when user move the focus to the textbox or decimal box, the selected item is not updating correctly. In order to update, first we need to click on the row and then click on the text box. But i have used the following as work around, is any other correct way to do that (Handled onClick event of listcell and pass the current object)
<listcell onClick="@command('onClick',type=p1)">
<decimalbox cols="25"
onChange="@command('doTotal')" instant="true"
value="@bind(p1.postingPaymentAmt)" mold="rounded"
format="#,###.##" hflex="1" />
</listcell>
@NotifyChange({ "selectedClaimDetail" })
public void onClick(@BindingParam("type") ClaimDetail selectedClaimDetail) {
this.selectedClaimDetail = selectedClaimDetail;
}