Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Using two styles in ALV grid

Former Member
0 Kudos
164

Hi All.

My requirement is to display a cell in ALV Grid as button and this button should be some times enabled and some times disabled depending on other cells data.

Using one style i can make it look like button.

I used style2 attribute i tried to make it disabled but this did not work.

Can any one help me with this ?

Thanks in Advance.

1 REPLY 1

Sandra_Rossi
Active Contributor
0 Kudos
58

Hi,

I couldn't succeed in doing an "inactive" button (as the ones we can have in toolbars). I guess mc_style_disabled is reserved to input fields (text field, checkbox, radiobutton) when we are in edit mode. Instead of a disabled button, you could define the cell as not being a button, it will look like a "status icon" (we lose the button aspect).

Sandra