📚 SAP Business One SDK Help

SumType Property
See Also  Example

Description

Types of the sum cell.

Property type

Read-write property

Syntax

Visual Basic
Public Property SumType() As BoColumnSumType

Example

Setting a Column to Have a Total Cell in a Matrix (C#)Copy Code
oColumn.ColumnSetting.SumType = SAPbouiCOM.BoColumnSumType.bst_Auto;
Setting a Column to Have a Total Cell in a Grid (C#)Copy Code
oGC = oGrid.Columns.Item(2); 
oGC.Type = SAPbouiCOM.BoGridColumnType.gct_EditText;             
oEditGC = (SAPbouiCOM.EditTextColumn)oGC; 
SAPbouiCOM.BoColumnSumType oST = oEditGC.ColumnSetting.SumType; 
oEditGC.ColumnSetting.SumType = SAPbouiCOM.BoColumnSumType.bst_Auto;

See Also