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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Swaping the Selected Grid Column

Thread ID:

Created:

Updated:

Platform:

Replies:

42818 Apr 6,2006 10:01 AM UTC Apr 6,2006 01:31 PM UTC WinForms 1
loading
Tags: GridControl
padhu
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.

42818.zip

CONFIRMATION

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.

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

;