I am evaluating iGrid, using the demo version to determine whether to purchase.
So far it is very impressive and is far superior to Datagridview with the exception of one show-stopper.
The C# Datagridview has a "GetClipboardContent" method which creates a DataObject. It also employs ClipboardCopyMode to allow copying of header text.
I do not see equivalent functionality in iGrid. How can I copy the entire contents of iGrid to the clipboard (with the intention of sending to Excel).
In C#, using a Datagridview this can be accomplished with the following code:
datagrid1.ClipboardCopyMode = DataGridViewClipboardCopyMode.EnableAlwaysIncludeHeaderText;
datagrid1.SelectAll();
int gvcount = datagrid1.RowCount;
DataObject dataObj = datagrid1.GetClipboardContent();
if (dataObj != null)
Clipboard.SetDataObject(dataObj);
Have searched this forum and do not see anything like a concrete example.
Would very much appreciate any responses to reference C# instead of VB.
Many thanks
Edited by moderator
2017-12-13T16:08:42Z
|
Reason: Igor/10Tec: changed post status to 'question', added code formatting tags