hello,
I met a problem when I do copy and paste:
1. I have two columns:Name and Description and in the grid I have several rows
2. I selected one row and press copy
3. When Paste, I found there is a order:first paste the content for Name and the paste the content for Description
however, I have a special situation that I need to paste the value for the second column first, and then the first one.
Is it possible to do this?
Thank you!
HI,
Please let me know if you need further assistance regarding this case.
Sincerely,
Matt Developer Support Engineer
YOu can wire up the XamDataGrid's ClipBoardPasting Event,
IN that event you can set the Text that is being copied.
Here is the Code Snippet
private void xgrid1_ClipboardPasting(object sender, Infragistics.Windows.DataPresenter.Events.ClipboardPastingEventArgs e)
{
ido = e.DataObject as DataObject;
string s = ido.GetText();
s = ido.GetText();
MessageBox.Show(s);
}
Sincerely, Matt Developer Support Engineer