Creating 2 separate buttons instead of table cell

Hi,
I wonder how can I create a custom table cell like in contacts applications where instead of one cell you see 2 separate buttons on the same row? In my case I need to create 2 buttons instead of single row in the state of editing.
Thanks for help,
Nava

Get to the end of the info of some contact. You will see in the end 2 separate buttons on the cell row:
Text Message and Add To Favorites. Or you can see it on the top of the contact info when you press edit, you will see, that the icon on the top become to be a button, which when pressed brings you to an image picker and alongside lays a what seems to be a cell, which when pressed brings you to a screen, where you can edit the contact name... I can't figure out how do they do that. No sample gives a clue...

Similar Messages

  • Create Radio button dynamically in Table column.

    HI All
       I have used following code to create radio button dynamically. but it's getting dump saying that Could not find attribute STATUS. 
    Here STATUS is the attribute of the node in View context. But why this dump is coming. 
    Please correct me if any thing worng.
      DATA: lr_radio TYPE REF TO cl_wd_radiobutton.
      DATA: lr_containr TYPE REF TO cl_wd_transparent_container.
      DATA: lr_data TYPE REF TO cl_wd_flow_data.
      IF first_time = abap_true.
        lr_containr ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
        lr_radio = cl_wd_radiobutton=>new_radiobutton(
        view = view
        id = 'RADIO'
        text = 'Enroll'
        bind_selected_key = 'STATUS'
        key_to_select = 'STATUS' ).
        lr_data = cl_wd_flow_data=>new_flow_data( element = lr_radio ).
        lr_radio->set_layout_data( lr_data ).
        lr_containr->add_child( lr_radio ).
      ENDIF.
    Thank you very much
    Ram

    Hi Rama,
    I solved it.check this code.
    i think u did mistake in creating radio button you are not passing the 
    BIND_KEY_TO_SELECT
      instead you are passing KEY_TO_SELECT.
    data:lr_column2 type ref to cl_wd_table_column,
         lr_radio type ref to cl_wd_radiobutton.
       lr_column2 = obj_table->get_column(
                   id         = 'TABLE1_PLANETYPE'
    *              INDEX      = INDEX
    lr_radio = cl_wd_radiobutton=>new_radiobutton(
    *      BIND_ENABLED        = BIND_ENABLED
           BIND_KEY_TO_SELECT  = 'STATUS'
    *      BIND_KEY_VISIBLE    = BIND_KEY_VISIBLE
    *      BIND_READ_ONLY      = BIND_READ_ONLY
           bind_selected_key   = 'STATUS'
    *      BIND_STATE          = BIND_STATE
    *      BIND_TEXT           = BIND_TEXT
    *      BIND_TEXT_DIRECTION = BIND_TEXT_DIRECTION
    *      BIND_TOOLTIP        = BIND_TOOLTIP
    *      BIND_VISIBLE        = BIND_VISIBLE
    *      ENABLED             = ABAP_TRUE
    *      EXPLANATION         = EXPLANATION
           ID                  = 'RAD1'
    *      KEY_TO_SELECT       = KEY_TO_SELECT
    *      KEY_VISIBLE         = KEY_VISIBLE
    *      ON_SELECT           = ON_SELECT
    *      READ_ONLY           = READ_ONLY
    *      STATE               = E_STATE-NORMAL
           TEXT                = 'Test'
    *      TEXT_DIRECTION      = E_TEXT_DIRECTION-INHERIT
    *      TOOLTIP             = TOOLTIP
    *      VIEW                = VIEW
    *      VISIBLE             = E_VISIBLE-VISIBLE
    lr_column2->set_table_cell_editor( the_table_cell_editor = lr_radio  ).
    Thanks,
    Suman

  • Lines in shaded table cells do not render properly in pdf created in Word 2010

    When creating a pdf with shaded table cells using MS Word 2010; the black lines in the shaded table cells do not show up when looking at the page at a fit page view (anything under  around 60%). They print, they are there when I zoom in, but will not show up if you zoom out.
    I read a forum post in Adobe here which gave some really logical suggestions, but they didn't seem to work for everyone or the level of effort was not what i can put into it. I also tried some of those and variations of those; but they didn't seem to work.
    http://forums.adobe.com/thread/305508
    Did anyone come up with a solution? Some people were saying it's a bug in pdf software, if that is the case, has anyone heard of a resolution?
    I'm using Windows 7 and word 2010 btw, to create the pdf.
    Thanks!!

    Just as a test, have you tried the MS plugin for PDF creation? I have found with other versions of WORD and Acrobat that PDF Maker and the MS plugin can both fill in dots and dashes on vector graphics (basically what the border is) and yet it comes out correctly with printing to the Adobe PDF printer. Unfortunately I do not have a solution. In my case, it seemed to be related to the vector graphic itself (I could import it to InkScape or other vector graphic tool and save to EMF and it then worked fine. It may be something that MS themselves have messed up in OFFICE 2013. Good luck.

  • SAP Portal development-Table Controls having link to table cell content

    Hello all,
    I am creating the SAP portal in which i am using Table controls to display the data. I want the function should be called whenever user clicks the table cell content. i.e. i want to create the function link to table cell.
    Please reply soon.
    Regards,
    Prashant

    Hi Prashant,
    You haven't mentioned if you are using Webdynpro or HTMLB JSPDynPages.
    If its the webdynpro, you can declare then and there itself that the content to the table column is a row my changing the property.
    If it is a HTMLB component TableVIew that you are trying to use, you can include a TableCellRenderer Class which renders the cells of the table at the runtime as links or buttons or whatever you want to put.
    So let me know, what exactly you are trying to use, then finding a solution will be more clear.
    regards,
    Sujana

  • Table Cells with dotted or dashed borders

    I created a table and to a number of cells created either dashed or dotted borders of various sizes. When I create a PDF, the dashed and dotted lines only show up as shaded lines. I have tried changing a number of PDF settings and still no luck. Can anyone help? I am working in FrameMaker 10 and Acrobat XI Pro.

    > ... a way to create a border for a table cell that has a dotted or dashed line?
    If you don't need FM access to cell contents (variables, xrefs, list-of-Tables, etc.), consider doing the tables in a spreadsheet. If the data originates in a spreadsheet, of course, it's usually not worth the effort to transfer the cell data to FM tables anyway, if only due to the risk of transcription error.
    LibreOffice or OpenOffice "calc", for example, have many more border/cell options than FM, and can trivially Export Selection to PDF. FM then imports the PDF. Although FM hasn't access to the cell text, it is worth noting that it will be full-text searchable/selectable in the PDF, and not just a graphic. The visible preview image during FM edit is low res (72 dpi) however, unless you use scaling tricks.
    MS Excel might also work for this data flow. I only ever use it to re-save a .xls or .xlsx to .ods. What little playing around with it I've tried suggests that rendering a print region to PDF might work, but I don't see any quick way to export selections.
    In FM versions earlier than 8, convert such PDFs to EPS using Illustrator or Acrobat Pro. PDF import is unstable in 7x and earlier. We have an AI batch process set up for this, and doing tables this way is easily worth this extra step.

  • Columns within table cells

    Is it possible to have more than one column within a table cell?

    You can create tabular columns within a table cell. You can type a tab character either by choosing Type > Insert Special Character > Other > Tab, or pressing Option+Tab (Mac). (I can't test this on Windows, but I think Alt-Tab is used to switch between applications, so you could set up a different keystroke in Edit  > Keyboard Shortcuts.) Then you can use the Tab panel to set tab stops within the cell, as if it were a text frame.

  • How can I have multiple lines in a table cell???

    hi
    how can I separate lines in a table cell in LV5.1.1??
    EndOfLine doesn't work, neither does CR or LF..
    has anybody an idea???
    thanks

    thanks.. but there is nothing like "multi line input" in my LV (5.1.1).. I think it might be impossible to
    do it in 5.1.1, it's really time to upgrade ;-)
    cheers

  • Button created among region items generates a spurious table cell

    To reproduce:
    =============
    1. Create a text item X in an HTML region.
    2. Create a button B amongst region items, to appear after X and on the same line, new field.
    3. Run the page and look at the source. I would expect to see something like:
    <td>X</td><td>B</td>
    But instead I see
    <td>X</td><td align=right></td><td>B</td>
    This is messing up my item alignments and I can't get rid of the extra table cell. What's going on?

    Any ideas, anyone?

  • How to create a context menu in ALV table cell editor(Webdynpro abap )

    Hello Experts,
    I am having a problem in creating a context menu in a table cell editor in the ALV table output.I have assigned a 'lta' as the cell editor.But befor assigning the lta as cell editor I have assigned the menu to the lta.But when the view is rendered I can see the lta with the actioned assigned to it.But I cannot see the context menu.
    The code snippet below:
      "Create menu for each coloumn
      create OBJECT lo_menu_actions type CL_SALV_WD_VE_MENU EXPORTING
          id = 'MITM_ACTIONS'.
      lo_menu_actions->set_visible( value = abap_true ). 
      lo_menu_actions->set_visible_fieldname( value = 'ACTIONS' ).
      "ADd menu items
      CREATE OBJECT lo_menu_item_create type CL_SALV_WD_VE_MENU
      exporting
        id = 'MITM_CREATE_EXPRESSION'.
      lo_menu_item_create->set_visible( value = abap_true ).
      lo_menu_item_create->set_visible_fieldname( value = 'Create' ).
      "Add item 1
      lo_menu_actions->ADD_ITEM( VALUE = lo_menu_item_create ). 
      "  Set the cell editor for each column cell(link to an action)
      LOOP AT lt_node_dec_tab_cols INTO ls_node_dec_tab_cols .
        lv_column_name = ls_node_dec_tab_cols-object_name.
        lr_column = lr_column_settings->get_column( lv_column_name ).
       "Create 'lta' Ui item
        CREATE OBJECT lo_lta TYPE cl_salv_wd_uie_link_to_action.
        lo_lta->set_menu( value = lo_menu_actions ).
        lo_lta->set_text_fieldname( lv_column_name ).
        lr_column->set_cell_editor( lo_lta ).
        IF ls_node_dec_tab_cols-is_result EQ abap_true.
          lr_column->set_cell_design( value =
                      cl_wd_table_column=>e_cell_design-key_medium ).
        ENDIF.
      ENDLOOP.

    Hi Prakash,
    I have not come across this requirement till now to have context menu in a cell editor of alv.
    Unfortunately  the implementation of method SET_MENU of alv ui elements ( ex: cl_salv_wd_uie_text_view ) is not updating alv configurable table, instead it just stores in a global attribute as string. Hence has no effect on context menu.
    If your user is very particular about this requirement of having context menu in cell editor, you can go for a normal table. Because, normal table's cell editor has the property to set the menuID as we do it for other ui elements.
    Regards,
    Rama

  • Adding button to a custom table cell (and handling them)

    Hi
    I'm wondering if it's possible to add a button on each row of a table view using a custom table cell view. If it's possible, I'm really wondering how I can handle the click events on these buttons.
    Thanks

    No.
    Try creating a view and adding it to a cell. Let us know what problems you have, and we can try to help.

  • I am trying to create a button in flash that will display 4 separate images at the same time when clicked.  I can't get the images to stay on when I take the mouse of the button.  I need the actions script code to make this happen.

    I am trying to create a button in flash that will allow the user to click on the button and 4 separate images show up at the same time.  I can get the images to appear when I click the button but they will not stay on the screen.  I need to know what code I use to make the images stay once the button is clicked, then I need to know exactly where I place that code.  It does not appear to be possible to add the action code to the buttons layer since each time I add a new layer I just get another "up" "over" "down" and "hit" line.
    Thank you in advance
    AP

    It is not clear how you are trying to realize this from your description.  If you are trying to create this within a button symbol it will not work.  Explain your approach and if there is code involved, show what you have so far.

  • How to create xsd's for each table in repository instead of entire repos

    Hi Gurus,
    Is there any way i could create xsd's for each table in the repository separately instead of creating single xsd file from "Export repository schema" option which creates a single xml file for the entire repository.I need to create xsd for each table in repository...
    Any Help greatly appreciated
    Thanks
    Aravind

    Open the Lookup table you want the XSD for, in Data manger
    Export it to access.( You can select all the fields you want to export to access and then check option "open Access after export")
    Now in Access, again right click the table and export it to XML.
    Provided you have .NET frame work installed on the machine where you are doing this export, you can do the following:
    Use XSD.exe from command prompt and get the XSD.
    Use the following link as a reference for XSD stuff.
    http://msdn.microsoft.com/en-us/library/x6c1kb0s(VS.71).aspx
    (OR)
    Get the whole XML of the repository and distill the whole structure for Lookups and create XSD using any standard XML editor.

  • How to create a table cell occupy more than one row using PDF.

    Hi,
    I want create a pdf report,which contains a table cell occupied more than one line.
    just like html language: <rowspan = 2>
    merge cells in one row is allowed,we can use merge cells command(like colspan in html).
    but how to mege cells in one column?

    Hi,
    I want create a pdf report,which contains a table cell occupied more than one line.
    just like html language: <rowspan = 2>
    merge cells in one row is allowed,we can use merge cells command(like colspan in html).
    but how to mege cells in one column?

  • Separate or move character in table cell

    I have table with "$" value. I want to separate the $ in cel befor it. is there a script that can move this "$" in the previous cell.

    Hi Kent,
    For the Table cell editor only basic UI controls can be added. It doesn't supprt container controls like scroll container or transparent container. So adding the scroll container n then inserting a text view element into it is not possible in case of table cells.
    One of the solution can be....just add a text view control as the cell editor n sets the following properties :
    For text view:  Set 'Wrapping' to true.
    For table column: Set 'Resizable' to true.
    Hope it serves your purpose.

  • Can I place a button within a specific html table cell?

    Hi folks,
    Subject says it all, I'm trying to place a button in a specific table cell, and don't know how to do it. It's weird that apex has all of the items that you can code directly using apex_item, but not a button. Am I missing something simple?
    Any help would be appreciated,
    Regards,
    -Adam vonNieda

    Depending on what theme you are using the code that makes up a button will vary, some are only input items, some are three table cells. You can examine the source of your page to see what your theme does.
    I have successfully put the following code in a report column header.
    <input type="button" id="DELETE" onclick="doSubmit('DELETE');" value="Delete"/>I use this as the header for a column of check boxes, so the user can select records and delete the selected.
    What Theme are you using, and what do you want the button to do (just submit the page)

Maybe you are looking for