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.
Unfortunately, activation email could not send to your email. Please try again.

Swaping the Selected Grid Column

Thread ID:





42818 Apr 6,2006 06:01 AM Apr 6,2006 09:31 AM Windows Forms 1
Tags: GridControl
Asked On April 6, 2006 06:01 AM

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 09:31 AM

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.

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.