WebGrid provides properties to enable user to customize row lost focus action.
In this topic, you will learn how to customize Row Lost Focus Action.
To customize Row Lost Focus Action
- Open WebGrid Designer and click See all properties.
- Set AllowAddNew to Yes and AllowEdit
to Yes.
- Set RowLostFocusAction to NeverUpdate/AlwaysPrompt/AlwaysUpdate.
This action is used when the row has lost its focus while the contained cells has
been changed. Apply to data editing scenario.