G
Guest
Hi, I have two questions regarding DataGrid
Question 1
I have a DataGrid on my Form to collect data from users. When I'm typing text into the cells, if I press Shift + Spacebar, the current cell loses focus and the whole row is selected. I don't want that. How can I prevent that behavior ?
Question 2
How can I change the background color of a cell when it becomes the current cell and change it back to normal color when it loses focus ?
Thanks a lot.
Dotnetjunky
Question 1
I have a DataGrid on my Form to collect data from users. When I'm typing text into the cells, if I press Shift + Spacebar, the current cell loses focus and the whole row is selected. I don't want that. How can I prevent that behavior ?
Question 2
How can I change the background color of a cell when it becomes the current cell and change it back to normal color when it loses focus ?
Thanks a lot.
Dotnetjunky