Skip to Content
avatar image
Former Member

Disable a particular Cell

Is it possible to disable a particular Cell in a matrix?

What I need is :

Already added records must appear as disabled Cell of the matrix.

When I add new records, Cell in the new row must appear enabled.

I know that we can disable an entire column. But I need specific Cells to be disabled.

Can anyone help me out?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 24, 2004 at 03:34 PM


    There is no direct way to disable a specific cell in a matrix according to Partner Logic.

    However - there is a workaround:

    In your ItemEvent Function ad teh following code

    If (pVal.EventType = et_CLICK And pVal.FormType = "<<u>Your Form Type</u>>" And pVal.<b>Before_Action = True</b> And pVal.ItemUID = "<<u>Your matrix UID</u>>") Then

    ..... If (pVal.Row = "<<u>Your Row ID</u>>") And (pVal.ColUID = "<<u>Your Column ID</u>>") Then

    .......... <b>BubbleEvent = False</b>

    ..... End If

    End If

    Note: This will disable the click event on your cell

    you can also change the BackColor of the cell to gray ...


    Yaniv G.

    SDK Consultant

    SAP Manage Israel.

    Add comment
    10|10000 characters needed characters exceeded