The appropriate place to add the value to the items collection is in the Cell Validating event handler.
Configure the scanner to remove the post-amables from the scan.
I think in the end it depends on what your validation needs are.
I guess I could call On Cell Validating, but then I'd be worried I'm missing some other event. Keys) As Boolean Dim key As Keys = (key Data And Keys.
My main objective is to make the Enter key not move to the next row in the grid. If that doesn't work, you can create a Key Press event on the cell and emulate pressing Enter on the cell, but that may mess with the users UI, just put the carat back where it was.
I still want the enter key to validate and end edit mode.
Cell Validating: it occurs after the cell has finished validating.
Thanks, Rajni Shekhar I fill the information in the Datagridview from Folder, Folder contains File Name, File Size, File Path. S Validating is used when you want to validate any value like value must be integer.