HxGrid Inline Editing ValueChanged on HxInputNumber #755
-
I have an HxGrid with inline editing. Everything works great up until the point where I wanted to create a valuechanged event for one of the inline HxInputNumber fields.
All of my other fields are using a simple bind like this.
The quantity inputnumber field renders but I am unable to get a value to bind in it. Any number that I enter into the inputnumber field changes back to 0 as soon as I move out of the field. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
How does your |
Beta Was this translation helpful? Give feedback.
-
Thanks Hadenr, bine-value:after worked perfectly. |
Beta Was this translation helpful? Give feedback.
How does your
calculatequantity
method look like? You have to save the value to the model there.In this setup I would strongly recommend using
bind-Value="InvoiceLineItemContext.Quantity" bind-Value:after="calculatequantity"
instead ofValueChanged
.