on 10-06-2014 8:39 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.