Table column header text vs. popup column menu text

Does anyone know how to show different text in the table show/hide popup menu than in the column header itself?
popup menu is the one that lets us manipulate column visibility but it seems forever bound to what I show in the column header :(
Appreciate any help !

Well, I have a way, but I think there should be an easier way.
1. Set the text of the TableColumn to the text you want to appear in the popup menu.
2. Set the graphic of the TableColumn to a new Text("...") with the text you want in the table header
3. Use CSS (see your previous thread) to set the -fx-content-display on the tabel header to "graphic-only"
If you want an image as well as text in the table header, you could try setting the graphic to an HBox and filling the HBox with an ImageView and Text (for example).
This loses some of the default behavior of the table header, too; for example there is no automatic ellipsis if the table column is too narrow to display the text.
Someone else may (surely) have a better solution...

Similar Messages

  • Table For Header Text Old Value

    Hi,
    Could Anyone helpme in finding the table for Header text of the PO , as We know  to find the current PO Header Text,by usinf th FM READ_text but i want to to find the header text for the po before Updated , Thanks in advance
    Regards
    Priyanka M Jain

    Hi,
    I believe that you need the text just after entering in PO during the runtime.
    just enter the text and go in the debugg mode, check for table text / textline in the global parameters and you will find the text.
    Hope this helps,
    Raj

  • Dynamic Table control header text

    Hi everyone,
    I need to change the column header texts of a table control dynamically.
    There are 32 columns in my table control. I got the information that I have to use I/O fields for every columns as the column header texts to change it dynamically.
    But it didn't work as the I/O box goes into the body of the table control instead of being placed in the header area. So I checked w/title and tried to drag and drop the I/O boxes on the header text place of table control. But it allowed only one I/O box to be there in the header area..
    Please suggest me any idea to place the 32 I/O boxes in the header area as the corresponding column headers in the table control..
    Thanks in advance,
    Sheeba.

    Resolved the issue..

  • Tables where header text of sale document and bill document is stored

    dear all,
                   i need a table and field in which header text of sale docu is stored .i need to print a text entered by user at the tie of vf01 .
    so plz tell me the table and way how to print that text in print of invoice
    if any function is there for that please also tell me
    waiting for positive response
    regards & thanks

    Take a look at OSS <a href="hhttps://service.sap.com/sap/support/notes/600408">Note 600408 - Smart Forms: header texts and item texts</a>, it may be useful for you
    <i>Symptom
    The system does not print header texts and item texts of the billing document in the Smart Form standard form LB_BIL_INVOICE.
    Other terms
    SMARTFORMS, print, text, completion note, invoice
    Solution
    The following solution describes how to include a 'header note' on header level and an 'item note' on item level in the form.
    If you want to insert other texts into your form, you must adjust the access key (text name, text object, text ID) which you create under point 4 or 11 correspondingly.
    The formatting characteristics of the text are transferred from the billing document to the output. That is, you can change the character format only in the document.
    to correct the form, proceed as follows:
          1. Display form LB_BIL_INVOICE in the change mode of Transaction SMARTFORMS.
          2. Expand the navigation tree on the left side and choose the following path: 'Pages and Windows -> FIRST -> MAIN'.
          3. After text node TITLEINVOICEDETAILS, insert text node HDTEXT with description 'Header text'.
          4. Maintain the general attributes of this node as follows:
              o Text Type: Include Text
              o Text Name:
              o Text Object: VBBK
              o Text ID: 0001
              o Language:
              o No error if no text exists: X
          5. Create the following variable under 'Global Definitions':
          Variable name                    Reference type
          GD_IT_TXT_KEY       TYPE         TDOBNAME
          6. Choose the following path: 'Pages and Windows -> FIRST -> MAIN -> TABLEITEM'. Expand the 'TABLEITEM' table node.
          7. Below the 'TABLEITEM' node (after node IT_REFVG2_COL2_A), insert program line node ITEM_TEXT_KEY with description 'Key for item text'.
          8. Maintain the following parameters for the node:
              o Input parameter: GS_IT_GEN
              o Output parameter: GD_IT_TXT_KEY
          9. Insert the following program lines:
                        clear gd_it_txt_key.
    move gs_it_gen-bil_number to gd_it_txt_key.
    move gs_it_gen-itm_number to gd_it_txt_key+10.
          10. After the new program line node ITEM_TEXT_KEY, insert text node ITEM_TEXT with description 'Item text'.
          11. Maintain the following general attributes of the node:
              o Text Type: Include Text
              o Text Name:
              o Text Object: VBBP
              o Text ID: 0002
              o Language:
              o No error if no text exists: X
          12. Make the following settings under 'Output Options':
              o New Line: X
              o Line Type: IT_DESC
              o New Cell: X,    1 Skip Cells
          13. Activate your form.</i>
    Regards

  • Update the z table from the header text of VF01 on save

    Hi All,
    I have a  Z table 'ZEXIM_LICDETAILS'. Whenever a billing doc. of type 'ZEXP' is created with tcode VF01, the Z table fields should also be updated. I have learned that we cannot include tabs in Billing Doc, so the licence number is put in the header text of the VF01.
    Is there any way that I can update my Z table from header text, when we save the VF01.
    Waiting for your repy in anticipation.
    Thanks a lot in advance,
    Anu

    Write code in USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    Reddy

  • Table control header

    Hi everyone,
    I want to change the table control header text dynamically.
    There are nearly 35 columns in my table control. So it's very difficult for me to create I/O field for every columns.
    Please suggest me if any alternative available..
    Thanks in advance,
    Sarath

    Hi Sarath,
    I guess you are left with no other option and you will have to use the Input/Output files in Output only mode so that you can change the text in the PBO module.
    Regards,
    S.Dakshna Nagarnatam.

  • Table Column Header Text - Refresh Table

    Hi. A question about programmatically changing the Header Text property of a Table Component.
    I've added code, in the backing bean Setter for the Table component, to change the header text as required.
    The problem is that when the page is rendered, the header changes are not displayed initially. Only after a PPR is performed (on a different component) does the table render with my property changes displayed.
    Am I doing the header text manipulation in the wrong place? Is there a way to refresh the table programmatically prior to it rendering initially (e.g. after the RENDER_RESPONSE phase?)?
    Cheers.

    Hi Bala,
    After following your invaluable advice I now have the table displaying more or less as a I need. The labels are set correctly (from the Attribute Hint that I set in the AttrDefImpl), and the Rendered property for each column is now derived from Expression Language pointing to the same AttributeHints...
    However, I'm still struggling with the DisplayIndex for the table columns. I'm attempting to set the DisplayIndex column property using EL that gets a value from the VO binding FieldOrder control attribute (which contains a numeric value). However, this does not resolve properly and in the column Property Inspector the DisplayIndex doesn't seem to display correctly itself...
    I'm wondering if this is because the FieldOrder control attribute is a String while the DisplayIndex takes an Integer. Is there a way to perform some conversion on this in the EL itself? Or maybe that is not the problem.
    Thanks again for all your assistance!

  • How to set title/text for ALV table column header in WD ABAP

    Hello,
    I am working in WDA using SALV_WD_Table to display data in table. I need to change the column header text, the obvious way is to get the column header and call the method SET_TEXT to set new text / title. However, this method does NOT work, it does not change the column header text. I also tried the SET_TOOLTIP, this one works, but SET_TEXT does not work. Anyone has idea why this not working and do you find any go-around solution?
    My version is NW 7.0
    Thank
    Jayson

    Hi jason ,
    For setting Heder text for your ALV table
    ip_confing type ref to CL_SALV_WD_CONFIG_TABLE.
    "set alv table header
      ip_config->if_salv_wd_table_settings~r_header->set_text( 'Test ALV Header functionality' ).
    first you have to hide the DDIC text and then try to set your own text .
    "modify columns
      LOOP AT lt_columns INTO ls_column.
        lr_column = ls_column-r_column.
        CASE ls_column-id.
          WHEN 'MANDT'.
            "hide this field
            lr_column->set_visible( cl_wd_abstr_table_column=>e_visible-none ).
           WHEN 'SEQNR'.
            "set header to different string
            lr_column->r_header->set_ddic_binding_field( if_salv_wd_c_column_settings=>ddic_bind_none )." use this line to hide ddic text
            lr_column->r_header->set_text( 'Position' ).     
        endcase.
      endloop.
    Regards
    Chinnaiya P

  • Image in table column header to the right of the text?

    Does anyone know how I can put an image on the right of the text in the table column header?
    If I do column.setGraphic it positions image on the left, how can I change the position of the image?
    For that matter how can I set alignment of the image? Like if I want it in the corner (even left corner will do) and not next to the text?
    Appreciate any help !

    You can do this with CSS (needs an external stylesheet, can't be done (easily) with an inline style).
    Something like
    .table-view .column-header-background .label {
      -fx-content-display: right ;
    }(Untested... you may need to experiment a bit.)
    The structure of the table view control from the css perspective is documented here: http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html#tableview

  • WD ABAP: Problem with Header text wrapping in Table Column

    Hi,
    I am unable to achieve Header Text wrapping for the TABLE columns. I have set the property "HeaderTextWrapping" to TRUE for each column and the "Fixed table layout" property has been set to TRUE.
    Is there some property of the table/column I have to set to achieve this? Or does selection of a specific property remove option of HeaderText Wrapping?
    Thanks,
    Adithya

    hi..
    Try increasing the width of column keeping other thing as it is as you have done. And yes check whether cell editor property wrapping is set true.

  • How to achive table column header style (vertical text)?

    Hi,
    Can we show adf table column headers with vertical text, and with rotation. For eg. "Dept Id" lable should show up as similar to what the below HTML does:
    <html>
    <div style="float: left;
    position: relative;
    -moz-transform: rotate(1000deg); /* FF3.5+ */
    -o-transform: rotate(290deg); /* Opera 10.5 */
    -webkit-transform: rotate(290deg); /* Saf3.1+, Chrome */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); /* IE6,IE7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3); /* IE8 */">Dept Id</div></html>
    Edited by: pramod gujjeti on Sep 18, 2011 8:51 PM
    Edited by: pramod gujjeti on Sep 18, 2011 8:51 PM

    Hi,
    I've used the below style classes in CSS, but still not getting the accurate Column Header Vertical Text. Also, in IE browser column header text is shrinked vertically when headerClass styles are applied!
    Any help appreciated!
    .sch af|column::column-header-cell {
    vertical-align: bottom;
    padding-bottom: 10px;
    height: 80px;
    .schc af|column::column-header-cell-content {
    -moz-transform: rotate(270deg);
    /* FF3.5+ */
    filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=3);
    /*IE6,IE7*/
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
    /*IE8*/
    -o-transform: rotate(270deg);
    /*Opera 10.5*/
    -webkit-transform: rotate(270deg);
    /*Saf3.1+, Chrome*/
    position: relative;
    vertical-align: bottom;
    Edited by: pramod gujjeti on Sep 27, 2011 9:09 AM

  • Change Table control Column Header text dynamically

    Hi,
    I have an requirement to change table control column header text dynamically.
    i.e. I have about 10 columns in table control, out that need to change 5 columns header text. These header texts are stored in an internal table.
    I had looked into the below link but could not get exactly how to do it.
    Dynamic headers in table control
    Could you please tell me how to do that.
    Thanks in Advance.

    Hi Saba,
    What you will need to do is this.....
    1. First replace the column Header Text box by I/O Fields and name them accordingly.
    Say for example we will consider the same example which i had explained in the link.
    there in the column header we want the header to change when some dates and entered into two fields which are out of table control say
    Start Date: 01.01.2010 to End Date: 06.01.2010
    Now we want the header to look like this,
    Column  No.    -        1               2             3                  4               5               6
    Header label   -    01/FRI       02/SAT     03/SUN       04/MON     05/TUE      06/WED
    Header name -    SPOTS1   SPOTS2    SPOTS3      SPOTS4     SPOTS5    SPOTS6
    then you go as per the instructions in the link......
    Let me know if you need further help,
    Hope this solves your problem....
    Regards,
    Abhijit G. Borkar

  • How to define Column Header text table control

    Hi All,
    I have to create a function in which user will pass Field Name, Field Description.
    I have to show that field description in Table Control Columns as Text for columns.
    Like if a user pass Material , PLant etc, then first column header text will be Material and so on and in rows it will show the data.
    One more thing, is it possible to define the technical attributes like length based on field passed through function.
    Please help me to find out the solution.
    Thanks
    Piyush Mathur

    Hi Piyush,
    here are the some components of the screen . you can change tehm at run time in your code.
    components: name,input,output,required,length,active,invisible,intensified,group1,group2...etc.
    at ruin time you modify these attributes..
    your requirement is to change the name attribute.
    regards,
    sateesh

  • Wrapping table column header text

    Hi
    I want my jTable column header texts to be wrapped automatically when the text does not fit in the width of the column. Any one help me?
    thanks
    mortoza

    Hi
    Thanks for your good advise. I have checked the site and found double line header of table. BUT, those lines are static i.e. not wrapping rather fixed. I want it to be wrapped automatically when the width is smaller than the required width to display in on single line. Can anyone help?
    Mortoza

  • Table column header text orientation

    Hi ,
    Is it possible using UI element TABLE or ALV component SALV_WD_TABLE to set the column header text orientation to 90 Degrees?  Like in Excel if you right click on cell then go to format cells then go to alignment tab where you can set text orientation.   I looked at cl_salv_wd_column_header and did not see method to do so.
    Thanks,
    Gary

    Currently this is not possible.
    If you do have a need to display (and I would probably emphasis display ) data in an Excel like manner, then consider using the Office control and supplying a formatted XML version of an Excel file to the control - then you can use all the Excel formatting capabilities to your heart's content.
    Cheers,
    Chris

Maybe you are looking for

  • IMovie '08: Built-in iSight camera not recognized in Yosemite

    On this page http://support.apple.com/en-us/TS2472 iMovie '08: Built-in iSight camera not recognized it says: In Finder, navigate to /System/Library/LaunchDaemons/ Select the file com.apple.mio.VDCAssistant.plist and delete. Restart your system. You

  • Unable to automatically run KDM at system boot

    I've done fresh system install on my desktop and now KDM doesn't starts at boot. But when I run it in console manually via "sudo systemctl restart kdm" it starts flawlessly. There are no any useful information in logs. The Xorg.0.log contains only me

  • Error opening communication channel in PI 7.1

    Hi All,          I am getting an error while opening communication channel in PI 7.1 The error is: Attempt to access the 1 requested objects on 1 failed. Detailed information: com.sap.aii.ib.core.roa.RoaObjectAccessException: Attempt to read object A

  • How to put songs on that i already bought?

    im trying to put music on a ipod that i recently got and put songs on it that i already bought how do i do it?

  • Transfer Posting - Very Urgent.

    Dear gurus I need help against to transfer stock from one plant to another plant through STO in SAP (Further STN (313 & 315)). Could anybody pl send me T-Code for that & further postings required to place that material in unrestricted are of other pl