Hi,I want to know is there any simple method to impliment copy and paste rows in WinGrid. I have to impliment this with shortcuts Ctrl + C and Ctrl + V. Regards, Pgr2007
The grid supports copy and paste within a cell by default. If you want to copy and paste rows or ranges of cells, then you need to see the AllowMultiCellOperation property.
I have just recently started using Infragistics. I am using UltraWinGrid.v8.3. How do I find the AllowMultiCellOperation Property? I would like to allow the user to copy and paste multiple rows.
AllowMultiCellOperation is on the Override object. So if you want to set it for the whole grid, you should use the InitializeLayout event of the grid and do something like this:
e.Layout.Override.AllowMultiCellOperation = AllowMultiCellOperation.All
I tried adding rows to the DataTable and and allowing the multicelloperation. In my case, adding rows to the datatable provides the desired functionality. I had some problems casting the UltraGridRow to a DataRow but I found the solution in another post.
Thanks to everyone for your help.