📚 SAP Business One SDK Help

ColumnSetting Property
See Also  Example

Description

The settings for a special column cell in a grid or matrix.

Property type

Read-only property

Syntax

Visual Basic
Public Property ColumnSetting() As ColumnSetting

Example

Adding System Pictures in a Combobox of a Grid or a Matrix (C#)Copy Code
oCombo.ValidValues.Add(“A”, “this is an alternative picture”)   
oCombo.ValidValues.Add(“T”, “this is a text picture”) 
oCombo.ValidValues.Add(“S”, “this is a SubTotal picture”)
Adding a Customized Picture in a Combobox of a Grid or a Matrix (C#)Copy Code
// To display your own picture, set the DisplayType = dt_picture. 
// Picture path is input as the first parameter of ValidValues – Add (path, description) 
// If you have a picture located in D:\bitmap\11.bmp, you can add the picture by: 
 
oCombo.ValidValues.Add(“D:\bitmap\11.bmp”, “My picture”) 
 

See Also