We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Swaping the Selected Grid Column

Thread ID:





42818 Apr 6,2006 10:01 AM UTC Apr 6,2006 01:31 PM UTC WinForms 1
Tags: GridControl
Asked On April 6, 2006 10:01 AM UTC

Hi, In my task, i have a syncfussion grid, assume it, it contains 3 rows and 5 columns with data. if i copy the data from the first colum and second column of the same row in the grid, after that when i past in the notepad it should paste like second column value first and first column value second(simply say swaping the first and second column). If select the First column of the first row and second column from the second row, it should''t swap, same condition if i select all the rows and columns. Kindly give the possible way to solve this kind of problem. Regards, PADMANABHAN.

Administrator [Syncfusion]
Replied On April 6, 2006 01:31 PM UTC

Hi Padmanabhan, The intent behavior can be achieved by getting the cell range in the ClipboardCopy event handler and then by swapping the range accordingly. Please refer to the attached sample that swaps the column using a Custom Sort. Regards, Calvin.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon