Copy rows on the clipboard

Hi, I have selected just 1 cell of the row how can i copy the entire content to the clipboard and paste it. i am using following method with this it just copies the content of the cell this.m_PretestListingGrid.Model.CutPaste.Copy();

1 Reply

AD Administrator Syncfusion Team December 16, 2004 09:40 AM UTC

Before calling this.m_PretestListingGrid.Model.CutPaste.Copy(); try doing this code to select the row. int row = this.m_PretestListingGrid.CurrentCell.RowIndex; this.m_PretestListingGrid.Selections.SelectRange(GridRangeInfo.Row(row), true);

Loader.
Up arrow icon