Skip to Content
0

Applying Checkmark To Matrix Gird

May 10, 2017 at 07:27 PM

47

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
ANKIT CHAUHAN
May 11, 2017 at 04:55 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks. This soultion worked for me.

0