Hi,
I would like to fire summary button and popup the form with options not only by pressing the summary (sigma) button but also programmatically using another custom action.
Is there any way to succeed that?
Thanks in advance
Hi Greycon,
There is a method on the ColumnHeader that we call to show this dialog. However, this method is internal so you will need reflection to get at it. Try the following code:
Infragistics.Win.UltraWinGrid.ColumnHeader header = ultraGrid1.DisplyLayout.Bands[0].Columns[0].Header;MethodInfo methodInfo = typeof(Infragistics.Win.UltraWinGrid.ColumnHeader).GetMethod("OnClickSummaryRowsButton", BindingFlags.NonPublic | BindingFlags.Instance);methodInfo.Invoke(header, new object[] { header.GetUIElement() });
Please let me know if you have any further questions.
Hi Mike,Thank you for your reply. What I need is not to add summaries programmatically. I need to open exactly the same infragistics form with all the options, but instead of opening it by pressing the (Σ) button I would like to open it from another custom pop up menu.Ideally I wanted to hide the sigma button and handle its behavior from another right click menu that I have created. But as I understand the only way to do this is to create a custom form which will simulate the infragistics pop up formKind regards
Hi greycon,
You can programmatically add a summary as described in the thread linked here: https://ko.infragistics.com/community/forums/t/77978.aspx