cancel
Showing results for 
Search instead for 
Did you mean: 

dynamically display a table in a view based on a condition..

Former Member
0 Kudos

Hi friends,

I just got with this issue.

how can i acheive displaying tables in view changing in runtime?

View1--

If condition.

show one table. (sold to data table)

else.

show the other table.(ship to data table).

endif.

Could you please someone reply me this ..

THanks,

Niraja

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Go thte answer from the threads availble.

here it is

best is to create in the context an attribute eg date2_visible of type wdy_boolean

when you want to react on the dropdown box, enter an action name in the onSelect event of the dropdownbox.

in the action handler, you can then react on the selected value to set the date2_visible attribute in the context to true or false.

The ui-elements of the label and input field of the second date field, must then be bound with their visible attribute to this

attribute from the context.

Great