Capture 'ENTER' key press event in text_input

I wanted to use other key press events (backspace, shift…) to trigger some functionality, but I can do that in an alternative way. Thanks for the help. I am currently trying the dataframe issue which I have raised here Adjust dataframe column width. Would really appreciate your help on that.