Skip to Content
avatar image
Former Member

How can I change element property.

Hi experts,

I have two tables and while I set the first table's property is visible , second table's property is invisible.When the screen is loaded, I want to make the first table visible and second table invisible. When I click any row in the table, I want to open q new table below first table.How can I do?How can I change the property of the table? Can anyone share with me the sample code for this.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 30, 2007 at 11:53 AM

    Hi Mehmet,

    Create 3 context attributes with type WDUI_VISIBILITY

    and in the Layout bind these with the Corresponding TABLE Controls

    VISIBLE property.

    and set these in WDDOINIT()

    wd_context->set_attribute( name = 'FIRST_TABLE_VISIBLE' value = if_wdl_core=>visibility_visible ).

    and table SELECT event.

    wd_context->set_attribute( name = 'FIRST_TABLE_VISIBLE' value = if_wdl_core=>visibility_visible ).

    Regards

    Abhimanyu L

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 30, 2007 at 12:52 PM

    Hi Abhimanyu,

    Thanks for response. your answer is quite clear. Your response really helped

    Add comment
    10|10000 characters needed characters exceeded