cancel
Showing results for 
Search instead for 
Did you mean: 

Applying Checkmark To Matrix Gird

former_member272979
Participant
0 Kudos

Hi,

I currently using SDK code to insert data in the matrix gird for Business Partner Campaign. I’m able to insert database in the gird but having issues applying checkmark for the column Response and Show BP Documents. Below is how I’m trying to apply the value to the matrix gird.

 oMatrix.Columns.Item("1320000027").Cells.Item(i + 1).Specific.Value = SAPbobsCOM.BoYesNoEnum.tYES  'Response
 oMatrix.Columns.Item("1320000055").Cells.Item(i + 1).Specific.Value = SAPbobsCOM.BoYesNoEnum.tYES 'ShowBPDoc

When I execute the code, it does not apply the checkmark for Response and Show BP Documents columns. Can you advise what is the correct way to apply checkmark for these two fields?

Regards,

William

Accepted Solutions (1)

Accepted Solutions (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi William,

If I am getting you right, it should be used like this:

SAPbouiCOM.CheckBox oCheckBox = (SAPbouiCOM.CheckBox)mtx_1.Columns.Item("col_1").Cells.Item(1).Specific;
oCheckBox.Checked = true;

Kind regards,

ANKIT CHAUHAN

SAP SME Support

former_member272979
Participant
0 Kudos

Thanks. This soultion worked for me.

Answers (0)