Hi
I need to identify the summary row from mouse positions. And the below code doesn't seem to work.
(currentUIElement is type of Infragistics.Win.UIElement)
currentUIElement.GetContext(typeof(UltraGridSummaryRow)) as UltraGridSummaryRow;
it will return null when I click on the summary row. :-(
Do you know what is the best way to achieve this?
Many thanks
Lan
Hi Lan,
Why do you want an UltraGridSummaryRow? There's really not much you can do with this object. In fact, it's not even a real row. The UltraGridSummaryRow object exists only as a sort've placeholder for use when exporting the grid. Which is probably why GetContext doesn't work.
If you can tell me why you want the UltraGridSummaryRow and what you are trying to accomplish, perhaps I can tell you a better way to do it.
HI Mike
What I need is to wire in some logic when certain cells of the summary row are clicked.
So I need determine from the position of the mouse:
1. Is it on a summary row?
2. if 1 is true, what column is the mouse pointing at
Thanks