Posted 14 June 2021, 2:25 am EST
Hi,
- You can achieve this using the selectionChanged event of FlexGrid. If you wish to set this only on column Full name, you can do that as well. Please refer to the code snippet:
startEditing(flex, e) {
if (e.col == 1) {
setTimeout(() => {
flex.startEditing(true); // quick mode
}, 50); // let the grid update first
}
}
- FlexGrid provides events called cellEditEndedwhich gets fired cell edit has been committed or canceled. You can also use cellEditEnding, which occurs when a cell edit is ending(useful to perform validations). So instead of focus out of input, you can use this event. As for onchange you can use the itemClicked event of the Selector class, which gets fired on change of selector input box.
You can refer to the sample link below for reference:
https://stackblitz.com/edit/angular-kh3frl
~regards