cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a simple grid

Former Member
0 Kudos

Hi

We need to have a simple grid in our web dynpro component. It should be like a table but without the push buttons to the left or the column headers.

Is this possible?

Thanks

Pushpraj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Pushpraj,

For grid usage check the sample component WDT_ALV.

For creating ALV check this tutoria

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a...

For Hiding various buttons present on top of ALV you can call methods of

CL_SALV_WD_CONFIG_TABLE

IF_SALV_WD_FUNCTION_SETTINGS~SET_VISIBLE

IF_SALV_WD_STD_FUNCTIONS~SET_DIALOG_SETTINGS_ALLOWED

IF_SALV_WD_STD_FUNCTIONS~SET_DISPLAY_AS_ALLOWED etc.

Regards

Manas Dua

Answers (1)

Answers (1)

Former Member
0 Kudos

you can use table control and uncheck its rowselectable property and selection mode to none, then it will be displayed as grid without lead selection

Former Member
0 Kudos

Hi

Ya Akash, I did figure that out by myself. Thanks though. And to get rid of the headings I deleted the header captions. That still left me with a scrollbar whcih was done away with by setting visiblerowcount to -1.

Thanks

Pushpraj

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

It sounds like you may have already found a solution via controlling certain properties of the Table UI element. If not, you might want to also have a look at the RowRepeater UI element:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/93d3792e8c60d6e10000000a114a6b/frameset.htm

Former Member
0 Kudos

Thanks Tom.

I had tried the rowrepeater. I bound it to a node which was filled during runtime but couldn't see anything on the screen at all.

Pushpraj