Hi,
I need to have a summary for each groupBy row where the source column is of bool type and all cells values of the column in the scope of one "group" will always have the same value.
I've implemented custom ICustomSummaryCalculator that returns a bool value to be shown in the summary. However the value is shown in the format "Summary = True". I would like instead to have a checkbox displayed in the summary. Is that possible?
Thanks,
Vitaly
Oh, sorry. You are right, I seem to have misread your last sentence.
No, there's no easy way to do that. Summaries are never editable. You could use a CreationFilter to put a CheckBox in there, but it's not a trivial understaking. I think there's a sample in the KB that demonstrates putting a CheckBox into the column header to check / uncheck an entire column. Is that the kind of thing you want?
Mike,
Thanks for the response.
I think you've misunderstood me. I don't need to format the string the summary contains, but rather I would like a checkbox to represent my bool value at the summary row. This checkbox will respond to mouse click actions and will change its state (check/uncheck) appropriately.
Hi Vitaly,
Set the DisplayFormat property on the SummarySettings object. This is the object that is returned to you from the Summaries.Add method.