Add a Percentage column.

Syntax

ISReportColumns.AddPercentage(name, [dataField], [heading], [headingShort], [width], [scaleWeight], [minimumDecimalPlaces], [maximumDecimalPlaces], [useParenthesesForNegatives], [summaryType])

Parameters

NameTypeOptionalByRefDescription
name String The column name.
dataField String Optional The name of the column in the underlying data source. Omit or set to '*' to use the column name. If omitted, a value of * is assumed.
heading String Optional If omitted, a value of * is assumed.
headingShort String Optional A shortened version of the column heading to display if the column cannot be displayed wide enough to accommodate the full heading.
width Double Optional The default column width or -1 to use the default width for this column type. If omitted, a value of -1 is assumed.
scaleWeight Integer Optional The weighting to use when scaling this column's width. 1 = Low scaling, 50 = Very high scaling. If omitted, a value of 2 is assumed.
minimumDecimalPlaces Integer Optional The minimum number of decimal places to include. If omitted, a value of 0 is assumed.
maximumDecimalPlaces Integer Optional The maximum number of decimal places to include. If less than minimumDecimalPlaces will use minimumDecimalPlaces. If omitted, a value of 4 is assumed.
useParenthesesForNegatives Boolean Optional Indicates whether Negative percentages should be enclosed in Parentheses. If omitted, a value of False is assumed.
summaryType iseReportColumnSummaryType Optional The summary type to display. If omitted, a value of iseReportColumnSummaryType.None is assumed.

Return Value

ISReportColumn
Member of:
ISReportColumns
Namespace:
Intersoft.ISReports6
Assembly:
ISReports6, Version=6.0.3
Target Framework:
.NET 9.0