Clickable Table Lines

Hi,
Does anybody know how to make a table highlight when the mouse is over it,
and make the lines clickable? Is there anyway we can do it with JSF, or the only way is the messy javaScript?

You need to use javascript to add this dynamic behaviour.
What do you mean by "line clickable". You mean the column component being a hyperlink which highlight when mouse hover over it.
If so you could do this with CSS styling.
- Winston
http://blogs.sun.com/roller/page/winston?catname=Creator

Similar Messages

  • Alv table line F2 details

    when F2 is pressed in ALV, a pop-up window shows, giving the details of that table line.
    how do I do the same in OO ALV report when F2 or double-click is used.

    Please find the code:
    FORM sub_show_detail USING uw_check TYPE boole_d.
      DATA: lt_fcat_main   TYPE lvc_t_fcat,
            lt_fcat        TYPE lvc_t_fcat,
            ls_fcat        TYPE lvc_s_fcat,
            ls_data        TYPE lvc_s_deta,
            ls_deta        TYPE lvc_s_detm,
            lw_layo        TYPE lvc_s_layo,
            lt_deta        TYPE lvc_t_detm,
            lw_main        TYPE zfd0r_invoice_analysis_strc,
            lw_count       TYPE lvc_index,
            lw_title       TYPE string.
      FIELD-SYMBOLS: <l_fcat> TYPE lvc_s_fcat,
                     <l_data> TYPE zfd0r_invoice_analysis_strc,
                     <l_cval> TYPE ANY,
                     <l_tval> TYPE ANY.
    Get the Global Field Catalog.
      lt_fcat_main = gt_fieldcat.
    Delete entries based on Invoice or F2 Invoice
      IF uw_check = abap_true.
        DELETE lt_fcat_main WHERE emphasize EQ space
                              AND fieldname NE 'GERNR'.
        lw_title = text-f30.
      ELSE.
        DELETE lt_fcat_main WHERE emphasize >< space.
        lw_title = text-f29.
      ENDIF.
    Get the Detail Display Fieldcatalog
      ls_fcat-fieldname = 'COLUMNTEXT'.
      ls_fcat-ref_table = 'LVC_S_DETA'.
      ls_fcat-key       = abap_true.
      ls_fcat-coltext   = text-f27.
      ls_fcat-outputlen = 20.
      APPEND ls_fcat TO lt_fcat.
      CLEAR ls_fcat.
      ls_fcat-fieldname = 'VALUE'.
      ls_fcat-ref_table = 'LVC_S_DETA'.
      ls_fcat-coltext   = text-f28.
      ls_fcat-outputlen = 35.
      APPEND ls_fcat TO lt_fcat.
      CLEAR ls_fcat.
    Define layout
      lw_layo-no_toolbar = abap_true.
    Fill the Main table
      LOOP AT gt_main ASSIGNING <l_data>.
        lw_count = lw_count + 1.
        DO.
          READ TABLE lt_fcat_main ASSIGNING <l_fcat> INDEX sy-index.
    End of All Fields -> EXIT
          IF sy-subrc >< 0.
            EXIT.
          ENDIF.
          ASSIGN COMPONENT <l_fcat>-fieldname
                  OF STRUCTURE <l_data> TO <l_cval>.
          IF sy-subrc = 0.
            ls_data-columntext = <l_fcat>-scrtext_l.
            ls_data-value = <l_cval>.
            APPEND ls_data TO ls_deta-detailtab.
            CLEAR: ls_data.
          ENDIF.
        ENDDO.
    Generate the Index
        ls_deta-blockindex = lw_count.
    append the display data.
        APPEND ls_deta TO lt_deta.
        CLEAR: ls_deta.
      ENDLOOP.
    Call The Item Detail FM.
      CALL FUNCTION 'LVC_ITEM_DETAIL'
           EXPORTING
                i_title         = lw_title
                it_fieldcatalog = lt_fcat
                is_layout       = lw_layo
           TABLES
                t_outtab        = lt_deta.
    Hope That Helps
    Anirban M.

  • Rectifications of different sizes for all the three table lines in footer.

    Hi friendz,
                    i am working in ecc6 system(smartforms).
                    i am using 3 table lines in the footer one for total, the second one for tax calculation, and the third one for the grand total.
    But in the output screen display - the total, tax and grand total(in different table lines) are displayed with different heights, which gives unprofessional look for the form.
    i want all the table lines in the footer to display with equal heights.

    Hi,
    first you create LTYPE follow below sequence
    Go table tab--> details tab--->give suitable heights for ltype
    next go to FOOTER in the main window
    create three table lines under footer like
    FOOTER1
    FOOTER2
    FOOTER3
    for three table lines we need to assign line type LTYPE
    Go FOOTER1 ---> output options -
    > give LTYPE.
         FOOTER2 ---> output options -
    > give LTYPE.
         FOOTER3 ---> output options -
    > give LTYPE.
    reward points if helpful.
    Regards,
    Bhupal.
    Edited by: bhupal reddy on Jul 22, 2008 11:55 AM

  • List UIBB - Access to cell editor for a certain table line possible

    Hi,
    I am looking for a way to access the cell editor of the last table line as I want to mark it as a special - summary - line.
    I intend a similar approach like in WebDynrpo ABAP when accessing the node info and modifying the "CELL DESIGN" attribute like in the following code (copied from WD Comp WDR_TEST_TABLE, View CELL DESIGN, method FILL_CELL_DESIGNS) :
      data tab type IF_CELL_DESIGN=>Elements_Cell_Designs.
      data line type IF_CELL_DESIGN=>Element_Cell_Designs.
      data node_info type ref to if_wd_context_node_info.
      data attribute_info type wdr_context_attribute_info.
      data attr_value type WDR_CONTEXT_ATTR_VALUE.
      node_info = node->get_node_info( ).
      attribute_info = node_info->get_attribute( 'CELL_DESIGN' ).
      line-is_expanded = abap_true.
      line-is_leaf     = abap_false.
      line-key         = 'FIRST'.
      loop at attribute_info-value_set into attr_value.
        line-text = sy-tabix.
        concatenate 'Text #' line-text into line-text. "#EC NOTEXT
        line-cell_design = attr_value-value.
        insert line into table tab.
        line-is_leaf = abap_true.
        line-key = attr_value-value.
        line-parent_key = 'FIRST'.
      endloop.
      node->bind_table( tab ).
    I suspect the method IF_FPM_GUIBB_LISTGET_DATA (or IF_FPM_GUIBB_LISTGET_DEFINITION) of my feeder class to be the right access point.
    But unfortunately, I have not yet found out how to change the cell design for specific lines, only for whole columns.
    Can anyone give me a hint here?
    BTW: The "summary" line is not a sum of the lines above, but determined by backend logic, so not ALV-summary line for me.
    Kind Regards

    Hi,
    A short update for all interested:
    My current work around is to always set the lead selection to the summary line. It does in a kind "mark" that line as special as long as I cannot mark it using a different cell design.
    How do I assure this?
    I have implemented the following code in a redefinition of the method ADJUST_SELECTION:
    *- alter selection
      DATA:
       ls_size TYPE rstabix.
      "get index of summary line
      ls_size-tabix = mo_collection->size( ).
      "change only if there are any cash conc. proposals
      IF ls_size-tabix > 0.
        "do FPM selection
        CLEAR: ev_lead_index, et_selection.
        ev_lead_index = ls_size-tabix.
        APPEND ls_size TO et_selection.
        "do BOL selection
        mo_collection->if_bol_bo_col_multi_sel~unmark_all( ).
        mo_collection->if_bol_bo_col_multi_sel~mark( iv_index = ls_size-tabix ).
      ENDIF.
    The general downside is, that no other selection is possible!
    The selection is always reset to the summary line with each roundtrip.
    Waiting for a better solution...
    Kind Regards,
    Robert

  • MS Word 2007 table lines have interesction tick marks

    Hello,
    MS Word 2007 SP2
    Adobe Acrobat 9.0.0 Plus
    A table created in Word, where row lines are shown but not column lines, shows on some lines tick-marks where row and colums would intersect. In AA version 7 this was not an issue, however, when converting from within Word this too was an issue.
    The image below didn't turn out as clear here than the original, but you still can see the Word bit left and AA on the right with the tick-marks.
    How can it be avoided?
    Thank you
    Stefan

    I'm experiencing this myself. I found instructions to navigate to Edit > Preferences > Page Display. Then, uncheck 'Enhance Thin Lines'. This lightens the lines considerably; reducing the very dark, chunky lines. However, table lines are still not the same width/thickness regardless of the zoom level in Acrobat (50% - 800%). And there is no pattern to where thicker lines appear; header rows, odd rows, etc. A random mess. I'm 100% positive the lines are set properly in Word 2007. And interestingly, all tables lines display equal widths consistently in printed copy- when printing from the PDF. The issue seems to be Adobe's electronic page display and that the 'solution' I found does not work. I have the latest version of Acrobat Pro and a colleague has the latest version of the Reader without a writer license-- no conflict of versions or software suite.
    I deliver documentation to customers electronically. My documents have many tables. My deliverables to look unprofessional and unpolished. My deadlines haven't been met due to research and this unresolved issue. Difficult to accept.
    So frustrated!  Please help!
    Jennifer

  • How to adjust space between table lines in smartform

    Hi experts,
    I created a smartform and use table to display content. But I find the space between 2 table lines is always wider than the space between to text lines. I'm using font 10, 6 lines per inch in the style. Is there any way to adjust the height of table line and make it the same as normal text line? Thanks in advance.
    Best Regards,
    Wu Xue

    Hi,
    we have the option of the adjusting the space between lines in the style.
    Select the style that is applied to Form. Once u double click the paragraph that is assigned. You will be able to tab for Spacing ..
    Change  the Line Spacing ..
    Please close the thread, if solved
    Regards,
    Aditya

  • Tables lines/borders, although all formatted to the required weight, once pdf'd show up as different

    Tables lines/borders – although all formatted to the required weight in MS Word 2003, once pdfd show up as different weights and the 'heavier' line varies depending on which magnification the page is in. These lines are coloured, not automatic colour. Hope someone can help. Thanks

    Close the form so you are looking at the "My Forms" tab, the view that shows you all of your forms.  In the "My Forms" tab you can right click on a form and choose "Duplicate" from the context menu or you can select a form and click on the "Duplicate" button in the toolbar above the list of forms.
    Thanks,
    Josh

  • WD ABAP: How to get the contents of selected table lines?

    Hi,
    I'm trying to figure out how to get the contents of table lines back from the UI. I display a table with several lines of data. The user selects some rows. I want to move the contents of the selected rows to another table. I have a context attribute, say DATA, with attributes FIELD1... FIELDn, using a DDIC structure. These are bound to the table UI element and the corresponding table columns. To get the selected rows, I use wd_context->get_selected_elements(). This works, but what I get from this method is references to if_wd_context_element. How do I know which row (row number = ?) this corresponds to? And how do I get the actual data? I want a structure with FIELD1 = value1 FIELD2 = value2 etc. My context attributes FIELD refer to table columns, but I'm looking for the table line...
    Can somebody help me?
    Thanks,
    Ira

    Hi Ira,
    wd_context->get_selected_elements() returns WDR_CONTEXT_ELEMENT_SET which is a table type of IF_WD_CONTEXT_ELEMENT. You can loop through the WDR_CONTEXT_ELEMENT_SET, get into variable say node_elelement which is of type ref to If_Wd_Context_Element. Then you could use the method GET_STATIC_ATTRIBUTES of If_Wd_Context_Element which returns a structure with values of all the attributes in the selected row.
    If you need the row number, while populating the node you could have an additional attribute called rowno and populate it correctly. When you select the data using method GET_STATIC_ATTRIBUTES, you would get the appropriate row number.
    Regards,
    Srini.

  • How to adjust the heigh of the table line

    Dear ABAPers,
           I have created the smartform.In that in MAIN window i created one table.
    In that table i created the table line.My requirement is i want to minimize the height of the table line.
    How to achieve this.
    Thanks & Regards,
    Ashok.

    Hi Ashok,
    What Venkat said is correct. One more way to decrease the size of table line is by:
    Go to smartstyle - go to paragraph format which you are using for your texts.. If it is *, create another paragraph format.
    ANd in that format put line spacing as .1 MM (Less or more accordingt to your requirement)..
    Thanks and regards,
    Palak

  • No table line started. Output to cell not possible

    Hi Everybody:
    I have developed a smartform where in if i give single record as input, it comes fine, but if more than one record is given thru selection scr, the error comes  No table line started. Output to cell not possible when page break is issued.
    Pls help as to why is it coming,
    I also tried SF TRACE, but when i display the error, it says Cannot read from the database.
    Best Regards, Neetu

    To print the internal table's data in the smartform you should use the TABLE.
    LIke define a TABLE, inside the table define required table types.
    Put your data inside your main ... under the Table by using one of the line type.
    Regards,
    Naimesh Patel

  • How to export a reference to a table line from a method?

    Hello,
    I have a class which has a hashed table as an attribute. I want to retrieve a line from the table using the key and return a reference to the table line. I want changes to the return value of the method to be directly reflected in the table, as if using a local field symbol. I have tried to approaches, neither of which works.
    First, I returned a reference to the local field symbol. This dumps, because after returning from the method call, the target of this reference no longer resides on the stack.
    Second, I have tried using an export parameter marked as "pass by reference", i. e. without VALUE(). Strangely, this still seems to give me only a copy of the data.
    What is the correct way to proceed?
    Illustrative pseudo-code follows.
    Thanks, Sebastian
    *==============================================================
    *Possibility 1: (using references)
    DATA mt_key_map TYPE zt_entity. " member variable (hash table of zs_entity)
    METHODS get
        IMPORTING
          !is_key TYPE zs_key
        EXPORTING
          !er_vt TYPE REF TO zs_entity.
    METHOD get.
      FIELD-SYMBOLS: <fs_vt> TYPE zs_entity. 
      READ TABLE mt_key_value WITH KEY key = is_key ASSIGNING <fs_vt>.
      GET REFERENCE OF <fs_vt> INTO er_vt.
    ENDMETHOD.     
    " Client Code:
      FIELD-SYMBOLS: <fs_vt> TYPE zs_entity. 
      CALL METHOD get
        EXPORTING
          is_key        = is_key
        IMPORTING
          er_vt         = lr_vt.
      ASSIGN lr_vt->* TO <fs_vt>.  " will dump, because the local field symbol
                                   " to which lr_vt points is no longer on the stack
      <fs_vt>-value = 'newdata'.       
    *==============================================================
    *Possibility 2:  (using a structure passed by reference)
    DATA mt_key_map TYPE zt_entity. " member variable (hash table of zs_entity)
    METHODS get
        IMPORTING
          !is_key TYPE zs_key
        EXPORTING
          !es_vt TYPE zs_entity.  
    METHOD get.
      FIELD-SYMBOLS: <fs_vt> TYPE zs_entity. 
      READ TABLE mt_key_map WITH KEY key = is_key ASSIGNING <fs_vt>.
      es_vt = <fs_vt>.
    ENDMETHOD.   
    " Client Code:
      DATA: ls_vt TYPE zs_entity.
      CALL METHOD get
        EXPORTING
          is_key        = is_key
        IMPORTING
          es_vt         = ls_vt.
      ls_vt-value = 'newdata'.   " will not change the contents of the
                                 " table mt_key_value       

    In the first approch, try to change the exporting parameter type REF TO DATA.
    Try like:
    CLASS lcl_test DEFINITION.
      PUBLIC SECTION.
        DATA: t_mara TYPE HASHED TABLE OF mara WITH UNIQUE KEY matnr.
        METHODS:
          constructor,
          get
            IMPORTING
              if_matnr TYPE matnr
            EXPORTING
              ea_mara  TYPE REF TO data.
    ENDCLASS.                    "lcl_test DEFINITION
    START-OF-SELECTION.
      DATA: lo_test TYPE REF TO lcl_test,
            lr_data TYPE REF TO data.
      FIELD-SYMBOLS: <fa_mara> TYPE ANY,
                     <f_field> TYPE ANY.
      CREATE OBJECT lo_test.
      lo_test->get(
        EXPORTING
          if_matnr = '000000000077000000'   " << Replace Your Material
        IMPORTING
          ea_mara  = lr_data ).
      ASSIGN lr_data->* TO <fa_mara>.
      ASSIGN COMPONENT 'ERSDA' OF STRUCTURE <fa_mara> TO <f_field>.
      <f_field> = space.
      WRITE: 'Done'.
    CLASS lcl_test IMPLEMENTATION.
      METHOD constructor.
        SELECT * INTO TABLE t_mara
               FROM mara
               UP TO 10 ROWS.
      ENDMETHOD.                    "constructor
      METHOD get.
        FIELD-SYMBOLS: <lfs_mara> LIKE LINE OF me->t_mara.
        READ TABLE me->t_mara ASSIGNING <lfs_mara> WITH KEY matnr = if_matnr.
        GET REFERENCE OF <lfs_mara> INTO ea_mara.
      ENDMETHOD.                    "get
    ENDCLASS.                    "lcl_test IMPLEMENTATION
    Regards,
    Naimesh Patel

  • Smartforms- TABLE -Lines,rgrding passing  Quan&DATS fields to smartforms

    Hi All ..
    Iam working on Tables in smartform ,
    These are  queries  to which  i need solution ..
    1)  In (Window) Table- Heading  i have created  3 LINES   in which  my  data  had  to display...( i have  a line   in that TEXT is used to display  a particular fields of the Itab ) .  as i came to know that  in my Zprog iam gettting my  data in the fields  but   wen  in smartform these fields values are not displayed ( when these fields are placed in LINE  )  but  wen  these fields are placed outof LINE that is outof table then iamgetting  value for these fields..  so please   let me know  wat are the changes that ishould do  to  get my  data  in  my table ( LINE )
    2) How  to pass  DATS and QUAN  fields  to the smartforms..
    as iam getting  data to DATS and Quan Fields in my  Zprog   but these  values are not showed in my  smartForm ..  ..
    Thanks in Advance..
    Looking  for  a good  reply ..
    Aslam..

    Hi,
    you have created 3 linetypes for table .
    you have create loop for multiple records display.
    in loop you have to pass table from which you are displaying inti output.
    To internal table we get data from print program and create text for corresponding cells.
    then it will pass those data to table.
    2) create programlines for that.
    in that mention table from which table is containing quantity.
    that is import parameter specified .
    export parameters are your output fields using for calculation.
    AMOUNT = TAB3-NETWR.
    Netamount = Netamount + TAB3-NETWR.
    here input is tab3 table it contains quantity data.
    lamount,netamount are output parameters.
    like that you can display quantity.
    or in global definitions currency/quantity fields tab is available you can pass there also.
    for dat fields write logic for conversion of date and pass that variabl in form output.

  • Table line discrepency between LiveCycle and Adobe

    I'm experiencing differences in my project with table lines. I've ensured my lines meet up in the LiveCycle Preview PDF view. When my form is applied to our environement and viewing in Adobe Acrobat the table lines are off. See images provided where issue occurs in the tables for questions are 6d and 6e. I've also noticed when I increase the view size in Acrobat from 100 to 150% the issue goes away. Weird stuff. Any help would be greatly appreciated. I'm operating LiveCycle ES3 along with Adobe Reader 11.0

    Dear Abhijit,
    Thank you for your advice but unfortunately I see that it is not maintained for this warehouse but the issue is we have 2 Batches which have gone thru same movement types like 411 and 344 and both belong to same warehouse. For both the batches all the dates are been maintained related to SLED in MSC3n and the production dates. One is appearing in LX27 and the other is not appearing.
    So after our analysis we understood that LX27 is dependent on LQUA-VFDAT but we are not very clear how this data is been filled in this table particularly any specific Transaction thru which it is filled for the first time.
    Appreciate your quick reply on this
    Regards
    Gubba Mahesh

  • How to create a clickable Table of contents using Crystal Reports 8.5

    How to create a clickable Table of contents using Crystal Reports 8.5. I was able to create the table of contents using subreport and temporary table. but not able to link to the pages.
    how to make it clickable ?
    -Vivek

    Hi Vivek,
    To you may create on demand sub report.
    In main report only the link will be shown when you click on the link the sub report will be opened in a new tab.
    It can be placed in a Group header and to show the data for that particular group only.
    Click on the Help menu in the crystal Reports Designer and open the Crystal Reports Help
    Go to Index tab and type in subreport
    Select Creating On demand you will get lot of information on that.
    Please let us know if that is enough to solve your problem
    Regards,
    Aditya Joshi

  • Dot matrix printers Capable of printing TABLE lines In Smartforms

    Hey guys,
       we are using EPSON LX-300+ (dot matrix pritner)
    but the problem is,
    it is not able to print table lines present in a SMARTFORM..
    it can print the same table lines presnet in SCRIPT ...
    so i want to know,
      all the dot matrix printers in the market...
    that can print table lines in SMARTFORMS...
    (pls suggest the DM printers u are using and dont have this problem..i.e unable to print table lines in SMARTFORMS)
    thank you...

    Hi Sreesudha,
    I have used three different line types for the main window.
    LTYPE1(Header) : For printing the column heading along with the title for consignor address.
    LTYPE2(Main Area) : For printing the line items detail. For the first line, I have to print Material Description and chapter Id and if the same    material exists for the second line item, then it should not be printed, so I have written condition for not printing it.
    LTYPE3(Footer) : For printing the footer with the net and gross weight details.
    And for paragraph format, I have used the custom Para. Format only.
    Suggest me ASAP.
    Rgds,
    JK

Maybe you are looking for