I have created a summary row but there is an icon that if they click on it would allow them to add another summary row. How can I disable this?
If you want to add summaries in code and you don't want users to add or remove the summaries, then you turn off AllowRowSummaries.
never mind. BeforeSummaryDialogEvent seemed to fix it. (e.cancel)