Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to do Single Column Visble and Invisible

Hi All,

I tried following code for doing Column visible and invisible. But in this when i click single columne all values invisible. I want when i again click on that Column i want to bind previuse value.

Means i have taken one Matrix and in that Matrix of first column i taken ChooseFromList and on this i fill second column also. When i click on second column it invisible. I want when i click again i want bind that value which i got on ChooseFromList.

I tried hardcode value "X". That line commented in code.

Can anybody suggest me how to do it ? How to get again that value ?

Code is,

If pVal.ColUID = "V_0" Then

For i = 0 To matrix.RowCount - 2

If matrix.Columns.Item("V_0").Cells.Item(i + 1).Specific.Value = "" Then

' matrix.Columns.Item("V_0").Cells.Item(i + 1).Specific.Value = "X"

Else

matrix.Columns.Item("V_0").Cells.Item(i + 1).Specific.Value = ""

End If

Next

End If

Former Member
Not what you were looking for? View more on this topic or Ask a question