✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Trigger callback upon pressing Tab key

I am working on a Dash data tables based data entry UI. I am adding blank rows (or with default data) such that a user can enter data into the rows, then press Submit button, upon which the data will be inserted into a database.

What I would like to do is:
When the user presses the Tab on the last column of a row, a new blank row should be added automatically without the user having to press an additional button for adding a row. So I imagine that there will be a callback triggered based on the event of the user pressing the Tab key on the last column of a row. The callback will add a blank row.

My question is:
How can I capture the event of the Tab key being pressed ?

Many Thanks !