We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

editable text fields

I have a text field in a grid control where the user can enter a value and then click a button (button is also in the grid control). If the field currently has a value of 5 and the user enters 6 and then clicks on the button, the value of the text field that is read is still 5. Doesn''t clicking on the button causes the text field to lose focus and hence save the value 6? The user must enter the 6 and then tab to another cell or hit enter to commit the 6 and then hit the button. How can I fix this problem?

1 Reply

AD Administrator Syncfusion Team December 14, 2004 11:15 PM UTC

In your click event handler, try calling grid.Currentcell.ConfirmChanges.

Loader.
Live Chat Icon For mobile
Up arrow icon