Hi Ismail,
Greetings from Syncfusion support.
We suspect that you would like to update the Version column value when saving a row by using enter key press. If so, then we suggest you to increment the Version column value using OnActionBegin event of Grid based on RequestType as Save. Please refer and use the codes below,
<GridEvents OnActionBegin="OnActionBegin" TValue="Order"></GridEvents>
public void OnActionBegin(ActionEventArgs<Order> args)
{
if (args.RequestType.Equals(Action.Save))
{
args.Data.Version = args.Data.Version + 1;
}
}
|
Please refer the above attached sample and if we have misunderstood your requirement, then the following details would be helpful for us to proceed further.
- Share with us a video demo explaining the requirement.
- Share the detailed explanation of your complete requirement.
- Share the mode of editing you are using in grid.
The provided information will help us analyze the problem, and provide you a solution as early as possible.
Regards,
Renjith R