Skip to Content
author's profile photo Former Member
Former Member

Using two styles in ALV grid

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 28, 2012 at 12:22 AM


    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).


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.