cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a cell as a combobox in a grid

Former Member
0 Kudos

Hi,

I m trying to get the cell as a combobox in a grid.

How should i do it.

The value displaying is a value but i want description in a code behind.

please help

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sharma

Trying:

<i>Dim cmb As SAPbouiCOM.ComboBox

Dim oGridAs SAPbouiCOM.Grid

dim Description as string

cmb = oGrid."the columns with type is ComboBox"

Description = cmb.Selected.Description()</i>

If were a Matrix (instead a Grid) the line will:

<i>cmb = oMatrix.Columns.Item("columnCombo").Cells.Item(Row).Specific()

Description = cmb.Selected.Description()</i>

Answers (0)