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.

Clearing data in RangeList

Thread ID:

Created:

Updated:

Platform:

Replies:

37273 Nov 18,2005 02:43 AM Nov 18,2005 05:21 AM Windows Forms 1
loading
Tags: GridControl
manohar
Asked On November 18, 2005 02:43 AM

Hi There, I am using GDBG.If I made Table selection,I am copying the whole table in to rangeList(object of GridRangeInfoList).Now my question is I want to clear the data in particular columns. Thanks in advance, Thanks & Regards, Manohar B.

Administrator [Syncfusion]
Replied On November 18, 2005 05:21 AM

I am not sure I understand. What code are you using to copy the data to a ''rangelist''. A rangelist cannot hold data. Are you referring to copying the contents of a set of selections to the Clipboard? If so, you have two options. You can retrieve the data from the clipboard, modify it, and then put it back onto the clipboard. This data is not a rangelist, it is a delimited string. Your other option would be to not copy the unwanted columns to the clipboard in the first place. How you go about doing this depends on how you are doing the copy in the first place. If this is being done by your user pressing ctl+C, then you can handle the grid.Model.ClipboardCopy event, and there just put what data you want on the clipboard and return e.handler = true. Or, you could modify the selections at that point (unselecting the unwanted columns) and not set e.Handled = true so the grid would handle the copy. If it is not the case of your user pressing ctl+C to do the copy, then I am not sure what you ned to do depending on how you are getting the data onto the clipboard.

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.

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.

;