Htmlb tableview column width

Hello
I need to set the column width of tableview Columns. I have width information in number of char. Basically i know the Column data type length and column title length. and i have to set the width equal to maximum of above two.
But in tableview Column, we can only set the width in pixel. And this option give different result on desktop computer and laptop.
Please let me know if anyone faced this problem before. It is very urgent for me.
Regards
Saurabh Garg

Hi Saurabh,
Lets say you have 10 coulumns.....then keep the width of tableView as 100%...
using 160% will make it bigger than the screen....and then set eaxch coulumn width as 10%.
Also if you are using iterator or tableViewControltab ColoumnDefinitions, then use the wrapping property...This will wrap the text in multiple lines...provided there is a space in between....
This should work...
Thanks,
Tatvagna.
Message was edited by:
        Tatvagna Shah

Similar Messages

  • Nested Tableview column in HTMLB

    Hi Gurus,
    I need your help again. We are trying to modify a standard monitoring BSP application.
    The BSP application has 12 columns for each month of a year.
    We now want to add 3 more columns for each of the month.
    The existing html page is using htmlb:tableview.
    Please let me know how can I add 3 columns under an existing table column.
    Cheers,
    Chaithanya.

    Hi,
    I need to design the table equivalent to Heirarchial table view in Webdynpro.
    i.e., I have a column called 'January' Under this column I need 3 more columns 'Actual' 'Target' and 'Status'.
    I hope this gives a better clarity.
    I want to attach a excel (To show exactly how it looks), but not able to find a option to attach.
    Please help.
    Cheers,
    Chaith.

  • HTMLB TableView Iterator & Edit columns, cells

    Hi friends,
    I am getting errors when , I tried to edit the columns, & Cells of  HTMLB TableView by using Iterator.Actually, I got the whole edit buttons and when I edit the values of particular column & cell fileds, it is not saving the values, instead it is giving same old values. The code I used is as follows.
    <u><b>To Edit the  columns,</b></u>
    method
    IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS.
    FIELD-SYMBOLS: <def> LIKE LINE OF p_column_definitions.
      APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
    <def>-COLUMNNAME = 'STUDENTID'.<def>-EDIT = 'X'.
    endmethod.
    <u><b>To Edit the  cells,</b></u>
    RENDER_CELL_START Method:
    method
    IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START.
    CASE p_column_key.
    WHEN 'ICON'.
    WHEN 'STUDENTID'.
           IF p_edit_mode IS NOT INITIAL.
    ENDIF.
    WHEN 'SDATE'.
           IF p_edit_mode IS NOT INITIAL.
    ENDIF.
    ENDCASE.
    endmethod.
    <u><b>To Edit the SDATE cells,</b></u>
    WHEN 'SDATE'.
      IF p_edit_mode IS NOT INITIAL.
    DATA: date TYPE STRING.
    date = m_row_ref->SDATE.
    p_replacement_bee = CL_HTMLB_INPUTFIELD=>FACTORY(
                          id        = p_cell_id
                           value     = date
                           type      = 'DATE'
                             showHelp  = 'TRUE'
                             cellValue = 'TRUE' ).
                               ENDIF.
    Why the either column or cell is not saving the new values, when I edit them? where it went wrong? please mail me in this regard.
    regards
    CSM Reddy

    Hi REDDY CSM 
    To learn coding these Methods.
    You need to learn everything from scratch about MVC.
    To learn functionalities of Methods in Controller and how to use them,its Better,if you start with some tutorial(Little application) on MVC.
    Here is link,Just follow this,You will get some Exposure to these methods.
    http://help.sap.com/saphelp_erp2005/helpdata/en/c8/101c3a1cf1c54be10000000a114084/frameset.htm
    Rest keep posting whenever you face and Problem..
    Happy Coding..!!
    Vijay Raheja

  • Freeze the column headers for htmlb:tableView using CSS

    Hi
    I am using a <htmlb:tableView > in BSP to display data.
    i want to freeze the column headers so that they dont scroll when table data is scrolled.
    Is it possible ?
    Regards
    Rajendra

    Hi Rajendra,
    Have a look at the links below:
    [Freeze tableview header-I|https://forums.sdn.sap.com/click.jspa?searchID=24813847&messageID=3088768]
    [Freeze tableview header-II|Freeze table header in HTMLB Tableview]
    [Freeze Columns of tableview|https://forums.sdn.sap.com/click.jspa?searchID=24813847&messageID=3517748]
    Search the forum and you will find information on this.
    Regards,
    Anubhav

  • HTMLB:TableView

    Hi,
    I have used the table view in my BSP application and use the concept of iterator class inherited from  interface 'IF_HTMLB_TABLEVIEW_ITERATOR' to manipulate the column of each row
    ABAP CODE:
    <%data: LV_ITERATOR  type ref to if_htmlb_tableview_iterator.
      create object LV_ITERATOR  type zcl_test
             exporting ir_context_node = db_controller
                       data_tab = =<LT_TABLE1>
    %>
    BSP CODE:
    <htmlb:tableView
                             fillUpEmptyRows = "true"
                             id              = "ResultTable"
                             onNavigate      = "navigate"
                             selectionMode   = "SINGLESELECT"
                             table           = "<%=<LT_TABLE1>%>"
                             visibleFirstRow = "1"
                             visibleRowCount = "8"
                             width           = "100%"
                             filter = "server"
                             sort = "server"
                             iterator        = "<%=LV_ITERATOR %>"
                             keyColumn = "template_id"
                             design = "alternating"
    <%--                         columnFilters="<%=filters%>"--%>
                             tabIndexCell = "FALSE"
                    selectedRowIndexTable = "<%=LT_SELECTEDROWINDEXTABLE%>"
                             >
    and implemented class 'zcl_test' , for some reason something strange is happening , the BSP page will be something like
    at the top there are buttons and below this is the TableView that display the content store in internal table 'LT_TABLE1'
    now the table contain 10 records,the 1-8 records are displayed on page1 and next 2 records are displayed on page2.
    So the issue is , if i naviagte to page2 and press any of the button on top of table view ,it redirect me to page1(display 1-8 records) and don;t stay back on 2'nd page.
    Please let me know how i can achieve this of staying on the same page

    Hi All,
    Sorry for the delay,explanation provided is amazing and may help other searching for the same issue but unfortunately selected row travel back to page index1
    and i don;t understand why the selected record is the first record in the internal table of iterator class and that result in this record to appear on page index1
    any how i have resolve this by pointing always to page index1.
    Code that can be useful:
    View:
    <htmlb:tableView fillUpEmptyRows = "true"
                     id              = "tvTempl"
                     onNavigate      = "navigate"
                     selectionMode   = "SINGLESELECT"
                     table           = "xyz"
                     visibleFirstRow = "<%= lv_first_rowindex %>"
                     selectedRowIndex = "<%= lv_selected %>"
                     visibleRowCount = "8"
                     width           = "100%"
                     filter          = "server"
                     sort            = "server"
                     iterator        = "<%= lr_iterator %>"
                     keyColumn       = "template_id"
                     design          = "alternating"
                     tabIndexCell    = "FALSE" />
    code in do_handle_event  or in do_request:
    DATA: lv_row_index TYPE i,
                  lv_page_index TYPE i,
                  lv_mod TYPE i,
                 lr_html_table_view TYPE REF TO cl_htmlb_event_tableview.
            lr_cl_descriptor = cl_abap_refdescr=>describe_by_object_ref( htmlb_event ).
            IF lr_cl_descriptor->absolute_name CS 'CL_HTMLB_EVENT_TABLEVIEW'.
              lr_html_table_view ?= htmlb_event.                                                                            // parameter: importing in method   HTMLB_EVENT  Type Ref To   CL_HTMLB_EVENT
              CASE lr_html_table_view->navigationtype.
                WHEN 'pageUp'.
                  MOVE mv_first_rowindex TO lv_row_index.
                  lv_row_index = lv_row_index - lr_html_table_view->visiblerowcount.
                  MOVE lv_row_index TO mv_first_rowindex.
                  WHEN'pageDown'.
                  MOVE mv_first_rowindex TO lv_row_index.
                  lv_row_index = lv_row_index + lr_html_table_view->visiblerowcount.
                  MOVE lv_row_index TO mv_first_rowindex.
                  WHEN'top'.
                  MOVE mv_first_rowindex TO lv_row_index.
                  lv_row_index = 1.
                  MOVE lv_row_index TO mv_first_rowindex.
                WHEN 'bottom'.
                  MOVE mv_first_rowindex TO lv_row_index.
                  lv_mod =  lr_html_table_view->rowcount MOD lr_html_table_view->visiblerowcount.
                  lv_row_index = lr_html_table_view->rowcount - lv_mod + 1 .
                  MOVE lv_row_index TO mv_first_rowindex.
                WHEN 'Index'.
                  READ TABLE mt_last_formfields INTO ls_formfields WITH KEY name = 'notificationstv_pager_index'.
                  IF ls_formfields IS NOT INITIAL.
                    MOVE ls_formfields-value TO lv_page_index.
                    lv_row_index = 1.
                    IF lv_page_index > 1.
                      lv_page_index = lv_page_index - 1.
                      DO lv_page_index TIMES.
                        lv_row_index = lv_row_index + lr_html_table_view->visiblerowcount.
                      ENDDO.
                    ENDIF.
                  ENDIF.
                  MOVE lv_row_index TO mv_first_rowindex.
              ENDCASE.
            ENDIF.

  • Regarding HTMLB TableView Celclick

    Hi All,
    I have an HTMLB tebleview where the first column is a LINK .
    When i click this cell (link) , i have following values n the method DO_HANDLE_EVENT of my class :
    htmlb_event->name = 'tableView'.
    table_event->event_type = 'cellClick'.
    I need to capture the DATA of the ROW for which the CELL was clicked in an internal table .
    The HTMLB TableView in the looks like:
    <htmlb:tableView id              = "list"
                           emptyTableText  = "<%= otr(BBP_SUS_UI/LIST_ORDER_NO_ENTRIES_FOUND) %>"
                           selectionMode   = "MULTISELECT"
                           sort            = "SERVER"
                           onHeaderClick   = "onmyHeaderClick"
                           onNavigate      = "onMyNavigate"
                           onRowSelection  = "onMyRowSelection"
                           visibleRowCount = "<%= lepp %>"
                           visibleFirstRow = "<%= iv_list_nav_index %>"
                           width           = "100%"
                           table           = "//model/order_list"
                           headerVisible   = "<%= IV_HEADER_VISIBLE %>"
                           headerText      = "<%= status %>"
                           iterator        = "<%= io_iterator %>" />
    Thanks,
    Anubhav.

    Hi Anu,
    actually you haven't tried my code. You've changed it.
    You have moved the double-quote (") signs to different places and added an asterix (*).
    In ABAP a asterix (*) in the first character of a line comments out the entire line. A double-quote (") sign comments out the remainder of the line it appears in.
    The comments I placed in the code where to show you the names of the attributes that hold the values you are looking for.
    So in other words the attribute
    tableview_event->selectedrowindex
    contains the index of the selected row. You can then use this attribute in further ABAP statements.
    You say that
    the issue is retriving the value of ROW_INDEX
    - well you do not need to retrieve it. It is already in the attribute tableview_event->selectedrowindex.
    I also suggest you use the debugger to look at the other attributes that are visible in this object.
    Cheers
    Graham Robbo

  • Htmlb:tableView and group building

    Hi,
    in abap alv-lists, it is possible to build groups like you can see in the following example:
    4711 12345 asdfaslöfkj
    4711 68686 asdfljsadflj
    4711 97777 salfjljfaksl
    and now in abap-alv
    4711 12345 asdfaslöfkj
         68686 asdfljsadflj
         97777 salfjljfaksl
    Is this possible with htmlb:tableView or something like this?
    Regards,
    Jens

    Yes you can make the first column to display data at the first appearance only as a Grouping. For this in the Iterator GET_Column_definition method set the FIXEDCOLUMN attribue of the column definition structure tableviewcontrol for which the grouping should apply(in your case first column).
    Code goes like this...
    data: ls_col_def  type tableviewcontrol.
      clear ls_col_def.
      move: '<FieldName>'    to ls_col_def-columnname,
            'Icon'          to ls_col_def-title,
            'X'             to ls_col_def-encode,
            'X'             to ls_col_def-FIXEDCOLUMN,
            '1%'            to ls_col_def-width.
      append ls_col_def to p_column_definitions.

  • Sums in htmlb:tableView

    Hi Community,
    how to you guys usually display a line with sums under a htmlb:tableView.
    As far as I have understood this, I can do either one of the following two ways:
    1) I add a line to the internal table where I calculate the sums I need. I then have to make sure that this line will always be displayed at the bottom after sorting, filtering etc. and that the sums are re-calculated after filtering.
    2) I display a second htmlb:tableView underneath the first, which will have only one line containing the sums. By this, I have to make sure that the widths of the columns of both tableViews has to be equal (which is not that easy when you text in the table that is larger than the allowed width).
    Is there another way? What is the preferred way?
    Daniel

    you can also handle it thru iterator. but the easiest would be add another row to itab and handle the sorts and filter and positioning of the total row yourself.
    samle code for iterator.
    RENDER_CELL_START method.
    assuming you have 10 rows in the itab.
    IF p_row_index EQ 10 .
      DATA: icon_plane TYPE string.
            icon_plane = cl_bsp_mimes=>sap_icon( id = 'ICON_WS_PLANE' ).
            if_first = cl_htmlb_image=>factory( id = p_cell_id id_postfix = '_first' src = icon_plane onclick = 'image_click' ).
            CLEAR icon_plane .
            icon_plane = cl_bsp_mimes=>sap_icon( id = 'ICON_WS_PLANE' ).
            if_bus = cl_htmlb_image=>factory( id = p_cell_id id_postfix = '_bus' src = icon_plane onclick = 'image_click' ).
            CREATE OBJECT multi_bee.
            multi_bee->add( if_first ).
            multi_bee->add_html( html = '<div style="border-top-style: solid; border-top-width: 1px;  padding-top: 1px">' ).
            multi_bee->add( if_bus ).
            multi_bee->add_html( html = '</div> ' ).
            p_replacement_bee = multi_bee.
    in the above example if_bus is for holding the last row value and if_bus is for holding the total value .
    in the above example i just showed how you have have two rows in the last row and just rendered two images.
    Regards
    Raja

  • How to insert check box fields in a htmlb: tableview

    Hi,
    Can anybody tell me how to insert check box fields in a htmlb: tableview in a sequence of rows in a table view. How to generate the sequence no for the checkbox inorder to know the row that is checked.
    Thanks in advance,
    Aruna.

    Here is the code which has the custom "Checkbox" in the tableview & Triggers the event. <b>You can identify the checkbox based on cell ID (p_cell_id)</b> in the method "IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START" & Based on the event name + Cell ID. Look at the code & let me know if you any issue.
    <b>Layout:</b>
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content id               = "content"
                   design           = "design2002+design2003"
                   controlRendering = "SAP"
                   rtlAutoSwitch    = "true"
                   forceEncode      = "ENABLED" >
      <htmlb:page title="Test " >
        <htmlb:form>
          <%
      data TV_ITERATOR Type Ref To zcl_itr.
      data iterator type ref to IF_HTMLB_TABLEVIEW_ITERATOR.
      create object tv_iterator exporting appl_cons = application.
      iterator = tv_iterator.
          %>
          <htmlb:tableView id              = "fligts"
                           headerText      = "Flight"
                           width           = "100"
                           headerVisible   = "true"
                           design          = "alternating"
                           visibleRowCount = "10"
                           fillUpEmptyRows = "true"
                           showNoMatchText = "true"
                           filter          = "server"
                           sort            = "server"
                           onHeaderClick   = "MyEventHeaderClick"
                           table           = "<%= APPLICATION->itab %>"
                           iterator        = "<%= ITERATOR %>" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <b>Event Handling:</b>
    DATA: EVENT_ID1 TYPE REF TO IF_HTMLB_DATA.
    EVENT_ID1 = CL_HTMLB_MANAGER=>GET_EVENT_EX( REQUEST ).
    CASE EVENT_ID1->EVENT_SERVER_NAME.
    IF NOT event_id1 IS INITIAL.
       if event_id1->server_event+0(9) = 'chkevent'.
      SPLIT event_id1->server_event AT '-' INTO v_event v_dummy v_row v_col.
      endif.
    endif.
    method IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS.
         CLEAR p_column_definitions.
        CLEAR p_overwrites.
        DATA: tv_column  TYPE TABLEVIEWCONTROL.
        tv_column-COLUMNNAME  = 'FLDATE'.
        tv_column-edit        = 'X'.
        tv_column-sort        = 'X'.
        tv_column-TITLE               = 'Flight Date'.
        tv_column-WIDTH  = '100'.
        APPEND tv_column TO p_column_definitions.
        CLEAR tv_column.
        tv_column-edit        = 'X'.
        tv_column-COLUMNNAME          = 'CONNID'.
        tv_column-TITLE               = 'Conn.ID'.
        tv_column-WIDTH  = '70'.
        tv_column-HORIZONTALALIGNMENT = 'center'.
        APPEND tv_column TO p_column_definitions.
        CLEAR tv_column.
        tv_column-edit        = 'X'.
        tv_column-COLUMNNAME          = 'CHECKBOX1'.
        tv_column-TITLE               = 'Check Box'.
        tv_column-WIDTH  = '30'.
        tv_column-HORIZONTALALIGNMENT = 'center'.
        APPEND tv_column TO p_column_definitions.
    endmethod.
    METHOD IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START.
           DATA: L_EVENT TYPE STRING.
      CASE P_TABLEVIEW_ID.
        WHEN 'fligts'.
          CASE P_COLUMN_KEY.
            WHEN 'CHECKBOX1'.
    *          CONCATENATE 'chk_event' '123' '2323' INTO L_EVENT SEPARATED BY '-' .
    CONCATENATE 'chkevent' p_cell_id INTO l_event SEPARATED BY '-'.
              P_REPLACEMENT_BEE = CL_HTMLB_CHECKBOX=>FACTORY( ID = P_CELL_ID
            ONCLICK = L_EVENT CHECKED = 'false' ).
          ENDCASE.
      ENDCASE.
    ENDMETHOD.
    Hope this will solve your problem.
    <b><i>* Reward each helpful answer.</i></b>
    Raja T
    Message was edited by:
            Raja T

  • How to put custom check box in a tableview column

    Hi,
    I would like to put a custom checkbox in a tableview column for each row of the table.
    Such that when the user selects the rows and among those rows if for fews rows this checkbox is active, i need to do some special processing. how can i add a custom check box to a tableview column.
    Can anyone help me in this regard?
    Thanks and Regards,
    Kumar

    Hi,
    You can use the checkbox code within your tableview column:
    <htmlb:tableView id = ".."
    >
    <htmlb:tableViewColumn id = " "
    type = "USER"
    >
    <htmlb:checkBox id = ".."
    selected = " "
    />
    </htmlb:tableViewColumn>
    </htmlb:tableView>
    I hope it helps.
    regards,
    Rohit

  • Link in a htmlb:tableview

    is it possible to add links to a htmlb:tableview.
    for example, i have a table with 4 columns. i'd like to let the entries in column 1 appear as links with the content of column 4 as the link target. (column 4 should be invisible for the user)

    Hi Daniel,
    You didn't study enough before posting...
    Take a look at:
    1. Documentation on your WebAS (accessible by <i>Tag Browser</i>);
    2. <b>SBSPEXT_TABLE</b> BSP Application on your system;
    3. other posts in this forum.
    Good search.
    Dany

  • How open URL in an htmlb TableView ?

    Hi guys,
    Here is my problem:
    - I have in my BSP an HTMLB:TableView which display a table of Document Info Record.
    - In this table of DIRs, there is a column which contains an URL in order to open an original.
    ex of url :
    https://daplmdv.sylvania.com:10443/sap/bc/bsp/sap/CVAW_VIEW_DOCFILE/ViewDocFile.htm?pa_document_key=ZPI000000000000000000185255000FR&pa_file_id=4B5DB6C66C9B0094E1008000C61CAA2D&filename=C:\Copie de SSO on PLP.pdf
    - At the moment in htmlb:tableViewColumn, I use the property onCellClick which call a javascript function :
    window.open( "<%= application->url%>", target='_blank' , 'toolbar=no, menubar=no, resizable=yes, scrollbars=yes');
    - It works in IE6 but I tested it in IE7 and it doesn't work.
    My question :
    Is it possible to open directly the link through the tableView and without using javascript ?
    I tried the property linkClickTarget but it doesn't work
    Thanks for your help

    Hi Regis,
    If you need a new window to load the document contents, then you should use the Javascripts. Because only a javascript could openup a new window in a BSP applicaiton.
    But if you do not want to open up the document in a new window and want to load it by replacing the current page, then you could do it by navigating to another page which could render the document contents in this page.
    Hope it helps!
    Regards,
    Maheswaran

  • Htmlb:tableView event navigation within frameset

    hello,
    i have a problem with event navigation in a frameset triggered from htmlb:tableView. the structure of my bsp-application:
    DEFAULT.HTM
          <frameset noresize cols="70%,*">
              <frame src="links.htm" name="left">
              <frame src="rechts.htm" name="right">
          </frameset>
    PAGE LEFT in the frameset with the tableView
    <htmlb:form target = "right">
          <htmlb:tableView id="myTable"
                           headerText = "Mitarbeiter"
                           headerVisible = "true"
                           design = "alternating"
                           visibleRowCount      = "10"
                           fillUpEmptyRows      = "true"
                           onRowSelection       = "MyEventRowSelection"
                           selectionMode        = "singleselect"
                           table                = "<%= table_csks %>" >
          </htmlb:tableView>
    PAGE RIGHT in the frameset shuold display details of the selected tableView row:
    <htmlb:form target = "right">
         <br>
         <%= lstable_csks-mandt %>
         <br>
         <%= lstable_csks-kostl %>
         <br>
         <%= lstable_csks-verak %>
         <br>
         <%= lstable_csks-ersda %>
         <br>
        </htmlb:form>
    PROBLEM description:
    when row is selected, displaying of the details on the right frame works well. but when another event of the tableView is triggered eg. browsing between table pages, the wohle table is displayed in the right frame instead to turn the table-page but stay in the same frame. of course this is done, because i have set the form-target attribute.
    and here the question: how can i differentiate between the onRowSelection-Event (navigation to the right frame) and the page-browsing event (stay in same frame but change the tableView page)?
    thanks a lot!
    kalina

    <i><htmlb:tableView keyColumn       = "smtp_addr"
                               id              = "searchhelp"
                               table           = "<%= t_searchhelp %>"
                               visibleRowCount = "10"
                               selectionMode   = "SINGLESELECT"
                               onRowSelection  = "setHelp" ></i>
    since you dont have sort or filter option for your table value, you can simply use the rowindex to read the itab.
    read table itab index selectedrowindex.
    on your other question of using more than one field in the itab for key of a record.
    declare  another field in the itab and fillit with the concatenation of the key fields (say concatenate recornumber itemnumber into keyfield) and dont show it in the tableview. declare this field as the key column in tableview.
    onrowselection this key value will be available in
    tabvie->selectedrowkey which you can use to read the itab. however in your case this is not required as you dont use sort or filter.
    Raja

  • Htmlb:tableView Recover the selected row

    Hi.
    How can I recover the selected row in a internal table, with the htmlb:tableView, in the onInputProcessing?
    Thanks very much!
    I'm using this sentence in the "layout":
    <!-- Visualizamos Línea de selección + tabla interna -->
        <htmlb:tableView id             = "myTableView"
                         visibleRowCount = "<%= c_ver_registros %>"
                         width                 = "<%= c_ancho_tabla %>"
                         selectionMode    = "SINGLESELECT"
                         table                  = "<%= T_TABLA %>" >
        </htmlb:tableView>
    null

    hi Marcos,
        While calling the Tableview in the layout get the selected row index in the attribute <b>selectedRowIndex = "<%= var_selectedindex %>"</b>   { where var_selectedindex should be defined as a pageattribute} the tableview definition should be like this..
    <htmlb:tableView id = "myTableView"
    visibleRowCount = "<%= c_ver_registros %>"
    width = "<%= c_ancho_tabla %>"
    selectionMode = "SINGLESELECT"
    <b>selectedRowIndex = "<%= var_selectedindex %>"</b>
    table = "<%= T_TABLA %>" >
    </htmlb:tableView>
    And in the <b>inputprocessing</b> ,
    Try this code..
    IF htmlb_event IS NOT INITIAL AND htmlb_event->if_htmlb_data~event_name = 'tableView' AND
         ( htmlb_event->if_htmlb_data~event_type = 'cellClick'   OR
           htmlb_event->if_htmlb_data~event_type = 'rowSelection' OR
           htmlb_event->if_htmlb_data~event_type = 'navigate' ) .
        DATA  tableview_event TYPE REF TO cl_htmlb_event_tableview.
        tableview_event ?= htmlb_event.
          IF lr_tableview_event->selectedrowindex IS NOT INITIAL .
               var_selectedindex  =  tableview_event->selectedrowindex.
        ENDIF.
      ENDIF.
    regards,
    Bhanu.

  • Htmlb tableview with CSS

    How can i assign a css file to a htmlb tableview.
    for instance:
    I can assign css with 'class=XXX' in html code.
    but how assign 'class' to a htmlbtableview.
      <%html table%>
      <table 'class=XXX' width="75%" border="1">
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
    </table>
           <%htmlb table%>
           <htmlb:tableView id     = "Project"
                 table         = "<%=Project%>"
                 selectionMode = "SINGLESELECT">
          <htmlb:tableViewColumns>
         <htmlb:tableViewColumn columnName="COMCODE"
                                title     ="code" >
         </htmlb:tableViewColumn>
         <htmlb:tableViewColumn columnName="PRJCODE"
                               title     ="prjcode">
         </htmlb:tableViewColumns>
         </htmlb:tableView>

    HI
    GOOD
    GO THROUGH THESE LINKS
    /people/thomas.jung3/blog/2005/08/22/bsp-value-input-help-popups-version-30
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8a4ecee4-0601-0010-6aa2-9903d650266f#search=%22ASSIGN%20A%20CSS%20FILE%20TO%20A%20HTMLB%20TABLEVIEW%20%2C%20SAP%22
    http://www.sapdesignguild.org/resources/ma_guidelines_3/ma_guidelines_3.pdf#search=%22ASSIGN%20A%20CSS%20FILE%20TO%20A%20HTMLB%20TABLEVIEW%20%2C%20SAP%22
    THANKS
    MRUTYUN^

Maybe you are looking for

  • Oracle 8i with P4 Compatibility

    I am trying to install Oracle 8i in Intel P4, the Installer comes up and when I select Install/Deinstall option it just dies. Can any one help me to fix the problem. null

  • Save stream to file

    hi would someone be kind to help me i need to know how to to save stream to file 10x

  • File in appending mode

    hi all when i try to write to a file i just have the last line added and the pervoiuse ones are overwritten how can i keep everything added to the file appear?? what is the appending mode for the file to keep accumelating things rather than overwrite

  • I have a hp pavilion p6 series - model no. p62002uk that hangs on start up.

    The screen flits briefly past the HP screen then goes black with a white cursor flashing in the corner. The HDD light comes on briefly at start up, then goes off again, I have unplugged it and unplugged all but the mouse keyboard and screen.  Sill th

  • Problems doing an active Database duplication through RMAN

    Hi, I'm trying to do active Database duplication through RMAN (http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmdupdb.htm#). My OS is Sun Solaris 5 Oracle version: 11gR1 Database on a 11gR2 Grid. I'm receiving the error RMAN> connect auxiliar