Strip chars as you type

In numeric cells, when a user edits a cell and begins typing, we’d like to strip forbidden chars as they are typed. Is there a built-in way to do this?

This seems to do the trick:

	this.handsonTable.addHook('afterBeginEditing', (row: number, column: number) => {
		this.document.getElementsByClassName('handsontableInput')[0].onkeydown = (event: any) => {
			console.log("key pressed: " + event.keyCode);
		};
	});

Hi @jonas.logdberg

if you want to get a key pressed afterDocumentKeyDown will be helpful as well.