Hi
I am using a webdatagrid and would like to change the background color of the cells which have been pasted with new data so i am trying to use the event
<ClipboardClientEvents Pasted="WebDataGrid_Clipboard_Pasted" />
but can you please let me know how i can change the cells which have been modified?
Regards
Raghu
Hello raghumuvvala,
It`s been a while since you posted but if you are still in need of assistance I would be glad to help.
What I can suggest for achieving you requirement is set cells background color to your desired color in the Clipboard_Pasting client side event as such:
function WebDataGrid1_Clipboard_Pasting(sender, eventArgs) { eventArgs.get_targetCell().get_element().style.backgroundColor ="red"; }
function WebDataGrid1_Clipboard_Pasting(sender, eventArgs)
{
eventArgs.get_targetCell().get_element().style.backgroundColor ="red";
}
Some further reference about clipoboard could be found at:
http://help.infragistics.com/NetAdvantage/ASPNET/2012.2/CLR4.0/?page=WebHierarchicalDataGrid_Clipboard.html
I hope this helps. Please let me know if you have any additional questions regarding this matter.
I was wondering have you been able to achieve your requirement according to my suggestions?
Feel free to contact me if you have any additional quetsions regarding this matter.