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.

Sum highlighted range and show total in popup or tooltip

Thread ID:

Created:

Updated:

Platform:

Replies:

80330 Mar 30,2009 11:16 AM Sep 24,2009 01:57 AM Windows Forms 4
loading
Tags: GridControl
Philip Bishop
Asked On March 30, 2009 11:16 AM

Hi. We are still using 4.202. Is there a way that a user can select a range of cells and sum them up and then put the sum in like a pop up if I move the mouse over the range? So if I moved my cursor over the selected range then a little popup or tooltip would pop up showing the sum that we figure on the fly for the range they have selected at the current time?? Could you give me a sample in VB that does something like that?


Rajadurai C [Syncfusion]
Replied On March 31, 2009 04:51 AM

Hi Philip,

Thanks for your interest in Syncfusion products.

Please refer to the following sample in which the sum of values in the selected range in gridcontrol is shown in tooltip when mousehovers the selected range.
http://files.syncfusion.com/support/samples/Grid.Windows/7.2.0.8/F80330/main.htm

Regards,
Rajadurai


Philip Bishop
Replied On September 23, 2009 11:58 AM

So I finally got a minute where I could mess with this. How can I make this so that if I swipe say the first two colum headers that it will total up what is then selected? When I did it, it first blew up because it was trying to total row0. So then I put in a check for that and it will let me highlight both cols but when I move over the range it still shows 0. How can I make it show the total?

Philip Bishop
Replied On September 23, 2009 04:40 PM

One other question....Say you hightlight 2 cells and then paste data. In your example it pastes in to one cell and does not update the count. In my sample I have range pasting and it does the same thing. So how can you make it update the range on a paste and how can you swipe col headers and have it upate.

Thanks

Phil


Rajadurai C [Syncfusion]
Replied On September 24, 2009 01:57 AM

Hi Phil,

Thanks for your interest in Syncfusion Products.

Please refer to the following modified sample in which the selection by rows or columns will also work by showing the sum of the selected range in tooltip while mousehovering. The pasting of a range to a selected range works fine and the tooltip is getting updated immediately with the reevaluated value on pasting.
http://files.syncfusion.com/support/samples/Grid.Windows/7.3.0.20/F80330a.zip

Regards,
Rajadurai

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.

;