cancel
Showing results for 
Search instead for 
Did you mean: 

visibilty of cells in table , web dynpro abap

Former Member
0 Kudos

how to set visibility in cells of a column in table

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Dipshikha,

Use cell variant to implement your requirement.

Add a cell variant to the column where you want to display the star as per the screen shot column 'alert'.

Add an image UI ( with the image 'star' ) as a cell editor of the cell variant.

Set the key of the cell variant as '1' also do the context binding of 'cell_design_filedname' property of the cell variant with the context attribute which you have linked with column 'Number'.

Now when the value of this column will be 1 the image 'star' would be displayed in the 'alert' column.

Hope this helps.

Regards,

Sonia

Former Member
0 Kudos

Hi Jitendra ,

Thanks for your Reply.  My requirment is something like.

let say if number = 1 then star in cell of next column should be displayed otherwise it should not be ..So i would like to set visibility in cell . I am able to set on column level but need to set cell wise.

Former Member
0 Kudos

what i understand you want to hide Cell with start if number is 1 if yes

go for visibility property instead of read_only in document 

http://scn.sap.com/docs/DOC-27125

Former Member
0 Kudos

HI,

Create a context attribute inside your table node of type WDUI_VISIBILITY. Bind the attribute to your Column->Cell editot -> Visibility property. Based on your condition modify your visibility value.

Former Member
0 Kudos

Hi,

Create one attribute of type WDUI_VISIBILITY and bind this to table col in where you want to display that symbol. and in coding

If num = 1.. set attribute with value '02'(visible) else set to '01'(none).

Cheers,

Kris..

Former Member
0 Kudos

go through below link:-

in this on selecting a row changes visibility of row

http://scn.sap.com/docs/DOC-27125