The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I pasted two columns in the grid and in the savecellinfo I'm trying to save the value in the document.
If I use GridCurrentCell currentCell = CurrentCell; m_document[e.RowIndex - 2, currentCell.ColIndex] = e.Style.CellValue; the first column is overwritten by the second column.
if I use m_document[e.RowIndex - 2, e.ColIndex] = e.Style.CellValue;
I'm trying to paste two columns in the grid. When I paste, I'm getting e.colIndex as 0. But when I edit the cell, I'm getting the exact e.ColIndex. When I paste a value in the cell, I need to get the exact colIndex.
I'm doing this functionality in the savecellinfo.
Please help me out. Thanks & Regards, Sathish.
>Hi Sathish,
There is a property flag that controls whether or not rows/columns can be appended during a paste.
ADAdministrator Syncfusion Team March 1, 2007 11:03 PM UTC
Hi Sathish,
To detect the cell information when pasting done in a cell, you need to handle the PasteCellText event of the grid and also you can turn off support for copying styles (allowing only text to be pasted and PasteCellText to be hit). To turn off style copy/paste support in a gridcontrol, turn off this flag.