I have an inventory type app where I have a grid with a list of devices. I have some JS code that is listening to the keyboard buffer in the background. This is to handle if a barcode is scanned using a barcode scanner.
In this image, I just navigate to the page and don't click on anything. I can scan the barcode with my barcode scanner and everything works just fine.
In this image below, AllowSelection is set to false for the grid. But when I click any cell it has this blue border which I would assume means that's where the focus for the page is. I can then click the tab button and that blue outline will move across each cell. The problem is, when the grid has focus, I'm assuming it's listening for a key press (hence the ability to tab through cells) which ultimately blocks the JS code listening to the keyboard buffer from ever getting hit. If I put focus into the search text box of the grid the scanning works just fine. It's just if a cell is clicked or the focus is on a row or cell. Is there any possible way to disable all types of focus or selection within the grid so that this JS code and get hit. My concern is a user can accidently click a cell and then scanning isn't going to work at all. The ability to scan should be available on the page regardless of what has focus.