Can Ctrl A be mapped to select All when using xamgrid
If the user selects only a couple of rows and makes only few cell changes is it possible to identify that there is a change and only manipulate those cells(like reset only those cells on click of button)?
Hi,
You can listen for the Ctrl + A key in the KeyDown event of the xamGrid
void grid_KeyDown(object sender, KeyEventArgs e)
{
if ((Keyboard.Modifiers & ModifierKeys.Control) == ModifierKeys.Control && e.Key == Key.A)
}
As for your other question, you'd have to keep track of any manipulations that occur on your data objects, and mark them as such, as the xamGrid doesn't keep track of the state of your data.
-SteveZ
This does not seem to work
What doesn't work?
The key down isnt triggered?
Do i need to give XamGrid1.Focus()?
The key down should be triggered.
Does the xamGrid have focus?