cancel
Showing results for 
Search instead for 
Did you mean: 

how can I use table headers only without using rows.

Former Member
0 Kudos

how can I use table headers only, without using rows and without leaving the space.

If anyone could say me how to paste the pic in this questions, I would have shown it.

The flow of view is in this way

{Table header(table on top of table)

column header1___|| column header2__ || column header3__ ||}

<b>Here is the blank space I am getting, How to avoid this space?this space is of one table row height</b>

{Contents column1 || Contents column2 || Contents column3 || (This is of other table below the uper table)}

I am using scroll for the content part of table only.

So I am using two tables.

I am using NW04.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hanif,

So you are using 2 tables. They are placed in some container.

What layout this container has? Matrix? Grid?

Check layout data for every table -- there are should be settings to remove padding/gaps for majority of WD layouts. For example, change cellDesign to "padless" in Matrix/Row layout data.

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Former Member
0 Kudos

I am using 2 tables.

the above table is in transperent container and the below table in scroll container.

Both the layouts have Grid Layout

I haven't selected any padding for the upper table.

Thanks and Regards

Hanif Kukkalli

Former Member
0 Kudos

Hanif,

There are could be some defaults that causes gaps:

1. On main container check that both cellPadding and cellSpacing are set to 0 (zero), also stretchedVertically=false

2. On every table for layout data properties make sure that every padding is 0 (zero), also for top table set valign=bottom, for bottom table set valign=top

VS

Former Member
0 Kudos

I did the possibles you explained, but couldn't get rid off the space.

Any other solutions?

I am keeping the header static and the content columns scrollable.

I have used two tables one to display header above and the other to display only the contents.

I have put the contents table in scroll container.

And the header table in transperent container.

Thanks and Regards,

Hanif Kukkalli

Former Member
0 Kudos

Hi!

I usually use matrix layout and padless design, you don't need grid layout in most cases.

if you use a group contaoiner check if the property hasContentPadding is switched off.

probably the scroll container causes this view behaviour, have you tried it without it for evaluation

cheers

stefan

Answers (1)

Answers (1)

Former Member
0 Kudos

Hai,

Make the table property visible Row Count=0 , not to display rows.

I didnt get you problem properly , wht is the need to use table without displaying rows?

What is your exact requirement

Regards,

Naga

Former Member
0 Kudos

I have made visible row count = 0.

I am not seeing any rows, but a blank space appears in that field.

I am using this table to display only header and keeping it out of scroll container to make the header to appear static and content columns to scroll in scroll container.

Thanks And Regards,

Hanif Kukkalli.