Skip to Content
0
Former Member
Oct 20, 2003 at 03:52 PM

How to get spanned cells in a TableView?

38 Views

Hi there.

In my BSP application I want to show a TableView where some cells span more than one row. That is I want to get an output which looks something like this :


...

....

...

...

...

The TableView class CL_HTMLB_TABLEVIEW has a public attribute SPANINFO which is a table that is able to store such information. It should get filled by the TableView method SETFIXROWSPAN which gets called when rendering the table. This method fills SPANINFO if there are columns that have the fixedColumn attribute set to TRUE. If such a column contains cells which have the same content and which lie in adjacent rows they should be rendered as one cell with a rowspan which is set accordingly in SPANINFO.

That's the theory...

Now I have a table where I have set the fixedColumn attribute to TRUE for all columns. In several columns there are adjacent cells which have the same content. But the rendered output doesn't have any spanned cells.

What do I have to do to get it work?

Greets,

Ali