cancel
Showing results for 
Search instead for 
Did you mean: 

WebDynpro: "Make a Table-Row inactive or not selectable" ???

Former Member
0 Kudos

Hi at all,

how can i make a Table-Row inactive or not selectable???

I have in my output(Table) many rows, and if one of this ROW-Information have in the Column "BLART" a "DR", than it must be "inactive" or "not selectable"!!! But all other Rows, should be active and selectable!

In ALV-Table (ABAP) i can change the "Fieldcatalog" but how can i realize it in WebDynpro ?

Regards

Ersin

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Which table you are using salv or normal table if it is normal table then you can set the property rowSelectable to the context attribute so by changing the attribute value for the respective element you can make row selectable or not

CAUTION : if you set the lead selected row to non selectable then application will dump

former_member226225
Contributor
0 Kudos

Hi Ersin,

These steps are for the Webdynpro table check all the steps for ALV.

1. Create an attribute of type 'BOOLEAN' (for example row_selectable, type boolean).

2. Go to table, in the properties you can find "rowSelectable" bind the attribute which you created instep1.


3. Go to the INIT method of the View (or as per your requirement, you can write this code on any event handler)

4. Check the condition , and set attribute value row_selectable = abap_false.

find the below link for the ALV.

Hope this will help you.

Thanks & Regards,

Raghunadh Kodali