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.
hy,
i using the grid and the grouping grid and i would like to know why after a copy/past in excel the columns headers aren''t copied.
or there is a simple method to do it.
regards,
ADAdministrator Syncfusion Team June 15, 2006 12:51 PM UTC
Hi Peeter,
Please refer to the below forum thread.
http://www.syncfusion.com/support/forums/message.aspx?MessageID=35083
Regards,
Calvin.
ADAdministrator Syncfusion Team June 15, 2006 12:51 PM UTC
Hi Peeter,
You can use the ClipboardCopy event to add the column headers to the ranges being copied. Below is a snippet.
private void Model_ClipboardCopy(object sender, Syncfusion.Windows.Forms.Grid.GridCutPasteEventArgs e)
{
if(!e.RangeList.AnyRangeContains(GridRangeInfo.Row(0)))
{
e.ClipboardFlags |= GridDragDropFlags.ColHeader;
e.RangeList.Add(GridRangeInfo.Row(0));
}
}
Best Regards,
Haneef
PEpeeterJune 15, 2006 04:07 PM UTC
tanks haneef
>Hi Peeter,
>You can use the ClipboardCopy event to add the column headers to the ranges being copied. Below is a snippet.
>
>
>private void Model_ClipboardCopy(object sender, Syncfusion.Windows.Forms.Grid.GridCutPasteEventArgs e)
>{
> if(!e.RangeList.AnyRangeContains(GridRangeInfo.Row(0)))
> {
> e.ClipboardFlags |= GridDragDropFlags.ColHeader;
> e.RangeList.Add(GridRangeInfo.Row(0));
> }
>}
>
>
>Best Regards,
>Haneef