Hi all,
Can anyone tell me how to force the CellListSelect event to fire programmatically?
Thanks
Joe
Hi Joe,
Your question does not make a lot of sense.
An event handler is just a method. So if you want to call that method, you can do it the same way you call any other method. But that's not really making the event fire, it's just calling a method.
There is no way to make this event fire in code, other than to inherit a class from the grid and then call the OnCellListSelect event.
I doubt that will do what you want, though, and in any case, firing an event or even calling the event handler method is generally considered to be bad practice.
What, exactly, are you trying to do?
Hi,
I was away to figure this out. Please disregard my previous question.
I have another issue that i can't seenm to figure out. I've added the row summaries using the following codes:
this.
SumSummarySettings SumSummary = band.Summaries.Add("Sum", SummaryType.Sum, band.Columns["External MTM"]); SumSummary.DisplayFormat = "Total = {0:$#,##0.00#}"; HAlign.Right;
SumSummary.Appearance.TextHAlign =
But for some odd reason, the sum checkbox is greyed out. Can you shed some light on this issue?