Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
285
Stopping arrow keys moving to the next line
posted

Hi,

This should be the simplest thing but I've had real issues trying to get it working. Does anyone know how to alter the behaviour of the XamDataGrid so that when your in the last column and press the right arrow it dosen't jump down to the first column of the next line (simular to left arrow)? I.e. behave more like Excel does. I've tried hooking into ExecutingCommand and catching the CellRight/CellLeft commands but while this works most of the time, occasionally (when key pressed a lot) something else gets called and it jumps to the undesired location.

thanks