Skip to Content

Applying Checkmark To Matrix Gird

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 11, 2017 at 04:55 AM

    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

    Add comment
    10|10000 characters needed characters exceeded