Firstly, we must add editable grid control to the entity we need to work on, in this case I will be adding it to Contact entity.
Now I need to add an event handler to editable grid. There are three types of event handlers that we can add to an editable grid.
After adding the web resource, I need to add it in form libraries. To do that I selected, “Contact” entity, then clicked on “Events” tab and under “Form Libraries” section I clicked on Add icon. Note that “Events” tab automatically becomes available when we add “Editable Grid” as a control.
Once the web resource was added, I added the OnChange event handler. Then I entered the properties as shown in the screenshot below.
Once the Handler properties have been set, click on OK and be sure to publish all the changes.
Let’s see the logic in action. I opened a view for Contact entity, and entered a Business Phone starting with “+64”.