Let's follow up this discussion at the Neptune Community

(this forum will be kept in read-only mode)

Hiding/displaying button in table

I have table like this and would like to make button next to Activity Status display only when Activity status is equal "Created".


Table is design like that:


Sorry for simple question probably.

I'm new to Neptun and SAPUI5. Thx


1 Comment

Hi Aleksander,


This could be a simple approach:


You could add a new column to the table and set it as an Icon.

Then you bind the Icon src property to a field in your internal table.




From your ABAP class, you control what icon to show just by assigning the icon value to that field (LANDX in my example).

For example, if you want to assign an "add button" next to certain entries, then you assign "sap-icon://add"  to the LANDX field.


Hope it helps you, kind regards,

Julian

Login or Signup to post a comment