Hi,
I've searched the forums a bit, but I can't seem to find a solution to my problem, which is the following.
I have some records in my datagrid. I want to select one, and then press DEL to delete it. If once of the cells is in editmode (or has been) this works, but when I only select the record, pressing DEL doesn't appear to trigger deletion. Am I missing something here?
Hello,
To delete a record in the XamDataGrid you have to select it with the RecordSelector and press Del key. This should work no matter if a cell has entered or not Edit Mode. If the grid in your application requires to enter edit mode to delete a record, please give me the xaml and code-behind (if any), because this is not expected behavior.
Alex.
Thanks for the reply, Alex.
I played some more and created a test project (should have done that first, boo me) which was working correctly..
I appears that if you set the grid to Focusable=false the input isn't routed to the grid... which makes a little bit sense, but I was still a little bit surprised ;)
I am glad we worked that one out. If you have any more questions feel free to address them to my colleagues and me.