0
我正在爲syncfusion網格控件進行復制粘貼。以格式訪問數據的剪貼板
我的問題是不是ABT syncfusion更ABT貼
我的數據是日期時間,INT,DATETIME-INT ...格式,這取決於行,選擇列數。 這裏是我的代碼爲糊狀
private void theGrid_ClipboardPaste(object sender, GridCutPasteEventArgs e)
{
DataObject data = (DataObject)Clipboard.GetDataObject();
try
{
if (data.GetDataPresent(DataFormats.Text))
{
rowsInClipboard = stringInClipboard.Split('\n');
//split into cellvalues
for (int iRow = 0; iRow < rowsInClipboard.Length; iRow++)
ValuesInrows = rowsInClipboard[iRow].Split('\t');
...}
我將如何驗證從剪貼板到電網被粘貼此數據。如果我製作了自定義格式,會有幫助嗎? 另外我需要訪問基於列的剪貼板數據。
感謝 孫