On the default data grid, this behavior isn’t possible out of the box. The new Data Grid 2 gives you a lot more options.
this new data grid can be found in the add-on-widget section
Using this setup, you can add an on-change event on the required input widget
You should add the on-change event on the particular entity in that case! Please specify, if that doesn’t solve your problem. On the DataGrid, there is no such trigger event.