Skip to Content
author's profile photo Former Member
Former Member

Visible/blank/none element in UI Table column

Dear All,

I have the following problem:

I have created a column in my table with a button

and under some condition I want this button

to be not visible (blank) in a row. I know how to deal

with ReadOnly (just created a boolean variable

in dictionary and create calculation methods for this alement and assign it to ReadOnly attribute)

but now I have no idea how and where can I set dynamicly

visible attribute I have create a variable in dictionary with 3 enumeration blank/none/visible but when I tried to assing it to my new-defined type the system

does not allow to assing it, I thouth that I should proceed like for ReadOnly but I was wrong

If somebody could helpe me? Thank you in advance

Bogusia

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 28, 2005 at 10:10 AM

    Bind the "visible" property of the button to a context attribute of local DDIC type "com.sap.ide.webdynpro.uielementdefinitions.Visibility".

    At runtime, use the constants from class WDVisibility to assign values to this attribute.

    Addition: From an ergonomic point of view, I would rather enable/disable the button (property "enabled") than switch its visibility.

    Armin

    Message was edited by: Armin Reichert

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Bogumila Wendt,

      Create a value attribute of "Type" com.sap.ide.webdynpro.uielementdefinitions.Visibility under the view context and assign the same value attribute to the column visible property. This should work..

      Bala

      Please consider rewarding points to helpful answers in SDN

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.