Skip to Content
0
Former Member
Nov 10, 2005 at 07:38 PM

Fixed tableview columns with CSS

26 Views

Hi,

I'm trying to fix some columns in a very wide table. I've looked at another post and I tried to convert that solution to a tableview with iterator.

  CASE p_column_index.
    WHEN '1' OR '2' OR '3' OR '4'.
      IF p_column_index = 1.
...
        CREATE OBJECT lo_image.
...
        p_class = 'al am as'.
        p_replacement_bee = lo_image.
      ELSE.
        l_text = get_column_value( p_column_key ).
        p_replacement_bee = cl_htmlb_textview=>factory( text = l_text ).
        CLEAR l_text.
      ENDIF.
      p_style = 'left: expression(document.getElementById("tbl").scrollLeft);position: relative; z-index: 10;'.
  ENDCASE.

This does not do much. The 'p_style = ...' is not found in the source generated in my browser...

Can anybody help please?

Regards

Luk