Dynamic Checkbox in Grid..........

Hi,
i have 2 grid controls(grid1 & grid2). Grid2 values are displaying based on the selected values from grid1.Im getting the dynamic values in grid2.
now i have to dynamicaly inculde a checkbox in grid2 .so that user can select any one from the grid2 values. how to inculde a dynamice checkbox in a grid?
null

Nainar,
I did this class for active CheckBox in Grid using Brian's note. the CheckBox will attached to Grid and link to database.The only problem is when I clicked on
CheckBox to change the value, got this error:
JBO-27010: Attribute set with value true for Saturday in Terminal has invalid precision/scale
Note:Saturday is a column of Terminal table.
should be something regarding DataType
import javax.swing.*;
import java.awt.*;
import oracle.dacf.control.swing.*;
import javax.swing.table.*;
// this class will customize a cell in GridControl as CheckBox(Dynamic)
// To instantiate this class, add the following step in your applet
// 0- add this class to your package.
// 1- Get a reference to your GridControl, same as below:
// JTable myTable = gridControl1.getTable();
// 2- instantiate an object from this class. same as below
// new myGridCheckBox(myTable,"SundayOpen");
public class myGridCheckBox extends Object {
public myGridCheckBox(JTable m_Table, String m_colName ) {
CheckBoxControl checkBx = new CheckBoxControl();
// get reference to a column
TableColumn ActiveColumn = m_Table.getColumn(m_colName);
// custom TableCellRenderer
TableCellRenderer myTCR = new CheckCellRenderer();
// forces this column to use the custom Cell Renderer
ActiveColumn.setCellRenderer(myTCR);
TableCellEditor myTCE = new DefaultCellEditor(checkBx);
ActiveColumn.setCellEditor(myTCE);
// inner class for custom CellRenderer (CheckBox)
class CheckCellRenderer extends CheckBoxControl implements TableCellRenderer{
public CheckCellRenderer()
super();
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected,
boolean hasFocus, int row, int column)
setBackground(isSelected && hasFocus ? table.getSelectionBackground() : table.getBackground());
setForeground(isSelected && hasFocus ? table.getSelectionForeground() : table.getForeground());
setFont(table.getFont());
setSelectionValue("Y");
setDeselectionValue("N");
setValue(value);
return this;
would appreciate to let me know if you solved the problem.
Thanks
Ali
null

Similar Messages

  • Need to display COlumn headers dynamically in ALG Grid

    Hello,
    I need to display column headers dynamically in alv grid Display with its corresponding value.
    Column headers should be picked from a field in Final Internal table and its corresponding field will also need to pick from the same table.
    T_final... Suppose Field STCTS - (To pick coulmn headers)
                                      CCNGN - (To pick appropriate value for that column)
    Can anybody explain me how i can pass these values to ALV Grid using
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
      EXPORTING
        IT_FIELDCATALOG           = Y_I_FCAT
      IMPORTING
        EP_TABLE                  = DY_TABLE.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Any suggestions will be appreciated....
    Regards,
    Kittu

    Hi,
    Go thru this link, and the code of Mr.Dev Parbutteea
    Re: Probelm with Using Field Symbol in FM
    thanks
    Mahesh

  • Dynamic checkboxes with jsp

    Hi,
    I need to create dynamic checkboxes in my jsp page from the values retrived from the database(oracle).help me with the code.My oracle queries are in my Java bean coding.pls its very very urgent.help me out.

    hi,
    This is my bean coding.can u pls tell me how to store the resultset values in a arraylist.help me out.
    package campaign;
    //Imports
    import java.io.*;
    import javax.sql.DataSource;
    import javax.naming.*;
    import com.ibm.ws.sdo.mediator.jdbc.Create;
    import java.sql.*;
    * @author n48edf
    * TODO To change the template for this generated type comment go to
    * Window - Preferences - Java - Code Style - Code Templates
    public class AgentDao extends java.lang.Object implements UnsubscribeConstants
    protected int indivID = 0;
    protected Connection _conn;
    protected DataSource ds = null;
    protected ResultSet rs = null;
    private String driver = null;
    //need to code
    public void agentLoad(IndvId) throws IOException
    String driver = ORACLE_DRIVER;
    String dataSource= ORACLE_DATA_SOURCE;
    try
    //Establish database connection
    if (_conn == null)
    try
    Context context = new InitialContext();
    // JDBC JNDI lookup
    ds = (DataSource)context.lookup(dataSource);
    context.close();
    // Get a connection
    _conn = ds.getConnection();
    catch (Exception exp)
    throw exp;
    // Create a connection statement
    Statement stmt = _conn.createStatement();
    rs = stmt.executeQuery("SELECT DISTINCT busn_org_nm "+
    "FROM BUSN_ORG bo,AGYLOCINDV_RESP_BUSORG ab "+
    "WHERE ab.busn_org_cd=bo.busn_org_cd AND ab.indvid=p_IndvId");
    String array[]=rs;
    stmt.close();
    cleanUp();
    catch ( SQLException sqe )
    System.out.println ("AgentDao.java - SQL Exception: " + sqe.toString());
    sqe.printStackTrace();
    catch ( Exception e )
    System.out.println ("AgentDao.java - Exception: " + e.toString());
    e.printStackTrace();
    finally
    if(_conn != null|| rs != null)
    cleanUp();
    public void cleanUp()
    try
    //close resultset
    if (rs != null)
    rs.close();
    rs = null;
    //close connection
    if(_conn != null)
    _conn.close();
    _conn = null;
    catch (SQLException sqe)
    System.out.println("SQL Exception occurred in cleanUp() of AgentDAO");
    sqe.printStackTrace();
    catch (Exception e)
    System.out.println("Error occurred in cleanUp() of AgentDAO");
    e.printStackTrace();
    }

  • Single Dynamic Checkbox record

    Hi,
    I am displaying 1 record with dynamic checkbox with the below
    statement
    select empno, ename, job,wwv_flow_item.checkbox(1, rownum) pr from emp where rownum = 1
    When i hit the Save button i am using onMouseDown event and calling
    the javascript function to make sure the checkbox is checked, and then i am submitting the Page.
    For SAVE button in the button attributes i have this code: onMouseDown="Members_Selected();".
    The below code is used in HTML HEADER:
    <script language="JavaScript">
    function Members_Selected(){
    var bflag;
    bflag = false;
    alert('total count of check boxes:'+document.forms[0].f01.length);
    for (var i=0; i<document.forms[0].f01.length; i++)
    if (document.forms[0].f01.checked == true )
    bflag = true;
    if (!bflag)
    alert("Please select Atleast 1 Member.");
    return false;
    if (confirm("Are you sure you want to assign the selected members !!"))
    doSubmit('SAVE');
    else
    return false;
    return true;
    }</script>
    Below is the problem i see When i HIT the SAVE BUTTON, by Selecting* the checkbox :*_
    I see the java script alert : total count is shown as "undefined"
    and another javascript alert : 'Please select Atleast 1 Member',
    and the page is not submitted.
    Have anyone encountered this problem, i have tested in apex workspace too, i see the same problem.
    Any help or suggestion is appreciated
    Thanks

    Hello:
    Check if this modified JS works for you function Members_Selected(){
    var bflag;
    bflag = false;
    var arr=new Array();
    obj=document.forms[0].f01;
    if (obj.length)
        arr=obj;
    else
        arr[0]=obj.value;
    alert('total count of check boxes:'+arr.length);
    for (var i=0; i<arr.length; i++)
    if (arr.checked == true )
    bflag = true;
    if (!bflag)
    alert("Please select Atleast 1 Member.");
    return false;
    if (confirm("Are you sure you want to assign the selected members !!"))
    doSubmit('SAVE');
    else
    return false;
    return true;
    varad                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Help with dynamic checkbox from database results

    Hi,
    I am creating some dynamic checkboxes from the results of a database read to sqlite.  I am able to get the data and the correct number of checkboxes is being created but I'm having a problem populating the labels for the checkboxes.  Here is the section of code that gets the results from the database and creates the checkboxes.
                    var result:Array = stmt.getResult().data;
                    for each( var obj:Object in result )
                        var cb:CheckBox = new CheckBox();
                        cb.label = obj.toString();
                        cb.setStyle("color", 0x00593B);
                        cb.setStyle("symbolColor", 0x000000);
                        container.contentGroup.addElement(cb);                   
    Neil

    This was answered on another forum for me.
    The line cb.label = obj.toString();
    needed to be changed to the data.
    cb.label=obj.myDatabaseFieldName;
    myDatabaseFieldName would be whatever column you are pulling the data in from and should be the actual name in the table.
    Neil

  • How to Controll Dynamic Checkbox Groups

    i want to create checkbox groups dynamically. Each group will have at least one child checkbox. if i select parent check box all child checkboxes should be checked.if i uncheck parent checkbox all child checkboxes should be unchecked.
    that check box group name also coming dynamically. i am trying to pass group name dynamically but it's not recognizing that name in javascript.
    pls help me on this how to controll dynamic checkbox groups.

    recognizing that name in javascript.Are you dynamically creating checkboxes with JSP?

  • Create dynamic checkBox

    Is it possible to create dynamic checkBox inside the loop? I am planning to generate a set of checkBox and then adding them into panels. Is it possible to do it? I have to generate checkBox dynamically.
    Thx.

    I tried as below. Is it right?
    private void createCheckBoxes(List javaFiles) {
            int count = javaFiles.size();
            System.out.println("The number of .tna files are"+count);
            for(int i=0; i<=count-1; i++){
                 System.out.println("Creating checkBoxes");
                 //Create checkbox
                  JCheckBox  box = new JCheckBox("region"+i);
                  box.setName("region"+i);
                dynamicPanel.add(box);
                dynamicPanel.validate();
        }I have few doubts.
    Initially I tried as below:
    JCheckBox  box = new JCheckBox();
    box.setName("region"+i);It created the check boxes dynamically but the name was not printed. Why is that so?
    Now my first set of code works. But how do I refer to these dynamic components?
    Thx.

  • How to download only some fields(dynamically) from alv grid layouts

    I have ALV grid list.
    I have layouts for selecting sets of fields dynamically.
    If I select a particular layout, I want to download only those fields into an Excel sheet.
    If I select another layout, I want to download only fields of that layout , into an Excel sheet.
    Can u plz write examples.
    Narendra

    Hello ,
    Here it is.
      FIELD-SYMBOLS <FS> TYPE ANY.
      DATA: GR_ATTACHMENT TYPE Z48S3_ATTACHMENT,
            GT_ATTACHMENT TYPE Z48S3_ATTACHMENT_TAB,
            L_F_TITLE     TYPE SO_OBJ_DES,
            L_R_FIELDCAT  LIKE LINE OF GT_FIELDCAT,
            L_F_FIELD     LIKE L_R_FIELDCAT-FIELDNAME,
            L_F_EMAILID   TYPE Z48S3_RECEIVER,
            L_F_FIRST     TYPE C.
      IF SY-SYSID EQ G_C_DEV_SYSTEM OR
         SY-SYSID EQ G_C_QUA_SYSTEM.
        CONCATENATE SY-SYSID '/' SY-MANDT ':' INTO L_F_TITLE.
        CONDENSE L_F_TITLE.
        CONCATENATE L_F_TITLE SY-TITLE INTO L_F_TITLE SEPARATED BY SPACE.
      ELSE.
        L_F_TITLE = SY-TITLE.
      ENDIF.
      G_R_VARIANT-REPORT = SY-REPID.
      G_R_VARIANT-VARIANT = P_VARIAN.
      CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT'
           EXPORTING
                I_DIALOG            = 'N'
                I_USER_SPECIFIC     = 'A'
                I_DEFAULT           = 'X'
                IT_DEFAULT_FIELDCAT = G_T_FIELDCAT
                I_LAYOUT            = GR_LAYOUT
           IMPORTING
                ET_FIELDCAT         = G_T_FIELDCAT
                ES_LAYOUT           = GR_LAYOUT
           CHANGING
                CS_VARIANT          = G_R_VARIANT
           EXCEPTIONS
                ERROR_MESSAGE       = 4
                OTHERS              = 4.
      SORT G_T_FIELDCAT BY COL_POS.
      PERFORM CREATE_EXCEL_ATTM_HEADING_ROW TABLES GT_ATTACHMENT
                                                   G_T_FIELDCAT.
      LOOP AT G_T_ALVLIST.
        L_F_FIRST = 'X'.
        LOOP AT G_T_FIELDCAT INTO L_R_FIELDCAT WHERE NO_OUT IS INITIAL.
          CLEAR GR_ATTACHMENT-XNEWLINE.
          IF NOT L_F_FIRST IS INITIAL.
            GR_ATTACHMENT-XNEWLINE = 'X'.
            CLEAR L_F_FIRST.
          ENDIF.
          CLEAR L_F_FIELD.
          CONCATENATE 'G_T_ALVLIST-' L_R_FIELDCAT-FIELDNAME
                 INTO L_F_FIELD.
          CONDENSE L_F_FIELD.
          ASSIGN (L_F_FIELD) TO <FS>.
          WRITE <FS> TO GR_ATTACHMENT-FIELDVALUE.
          UNASSIGN <FS>.
          APPEND GR_ATTACHMENT TO GT_ATTACHMENT.
        ENDLOOP.
      ENDLOOP.
    Regards,
    Vasanth

  • Change the total and subtotal dynamically in ALV GRID

    Hi guys,
               I need to change the total and subtotal of field "AMOUNT" dynamically.I am using ALV GRID CONTROL(oops concept).I need to override the standard functionality.I need to show my own subtotal and total line instead of standard one .

    Hi
    I've understood it, I wanted to use OO Grid too, but I had to use the ALV list in order to write my total.
    If you need to use OO grid u can try to exclude all funcitonalities for the total, subtotal and sorting and insert in the output table the lines with your totals.
    Max

  • How can I dynamically change a Grids ro color

    Hi,
    I am using a grid within a component in my Flex application.
    I have an XML dataProvider, and I want to change the row
    colour of my Grid depending on a value coming form my dataProvider
    – but I cant seem to get this to work :(
    can anyone help / advise me on how I can dynamically change the
    colour of my grid row depending on a value coming from my XML
    DataProvider????
    For example:
    Within my component I have the following grid within an
    “MXML” component called myGrid.mxml:
    [CODE]<mx:Grid id="GGrid">
    <mx:GridRow backgroundColor="0xCFD8DA">
    <mx:GridItem>
    <mx:Label id=”name_lbl”/>
    </mx:GridItem>
    </mx:GridRow>
    <mx:GridRow backgroundColor="0xCFD8DA">
    <mx:GridItem>
    <mx:Label id=”expiryDate_lbl”/>
    </mx:GridItem>
    </mx:GridRow>
    <mx:GridRow id=”statusRow”>
    <mx:GridItem>
    <mx:Label id=”status_lbl”/>
    </mx:GridItem>
    </mx:GridRow>
    </mx:Grid>[/CODE]
    I am setting/declaring my results/variables form my
    dataProvider in the main Application (“MXML”) file:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*"
    creationComplete="initApp()" >
    <mx:HTTPService
    id="myResults"
    url="
    http://localhost/myResults.xml"
    resultFormat="e4x"
    result="myResultHandler(event)" />
    [CODE]<mx:Script>
    <![CDATA[
    import mx.core.Application;
    [Bindable]
    public var myDataFeed:XML;
    public function initApp():void
    myResults.send();
    public function myResultHandler(event:ResultEvent):void
    myDataFeed = event.result as XML;
    Application.application.myGrid.name_lbl.text =
    myDataFeed.name;
    Application.application.myGrid.expiryDate_lbl =
    myDataFeed.expiry;
    Application.application.myGrid.status_lbl.text =
    myDataFeed.status;
    if(myDataFeed.status == “OK”)
    Application.application.statusRow.backgroundColor="0xCFD8DA";
    else if (myDataFeed.status == “WARNING”)
    Application.application.statusRow.backgroundColor="0xFF9900";
    else if (myDataFeed.status == “CRITICAL”)
    Application.application.statusRow.backgroundColor="0xFF0000";
    ]]>
    </mx:Script>
    </mx:Application>[/CODE]
    however, I cannot access the property
    “backgroundColor” of the gridRow in this way:
    [CODE]Application.application.statusRow.backgroundColor[/CODE]
    As I get the following error:
    [CODE]Severity and Description Path Resource Location
    Creation Time
    Id 1119:
    Access of possibly undefined property backgroundColor through
    a reference with static type mx.containers:GridRow.
    enterpriseDB_new enterpriseDB_new.mxml
    line 721 1194443056449 19295[/CODE]
    can anyone help / advise me on how I can dynamically change the
    colour of my grid row depending on a value coming from my XML
    DataProvider????
    Thanks,
    Jon.

    quote:
    Originally posted by:
    ljonny18
    Hi,
    I am using a grid within a component in my Flex application.
    I have an XML dataProvider, and I want to change the row
    colour of my Grid depending on a value coming form my dataProvider
    – but I cant seem to get this to work :(
    can anyone help / advise me on how I can dynamically change the
    colour of my grid row depending on a value coming from my XML
    DataProvider????
    Thanks,
    Jon.
    Hi,
    a few hours ago I stumbled across this cookbook entry - it
    didn't solve MY problem, but maybe it provides a way to solve your
    problem?
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=61&product Id=2&loc=en_US
    From the article:
    quote:
    Changing the background color of a DataGrid cell is not as
    simple as changing some style because the default renderer for a
    DataGrid cell does not have a backgroundColor. Therefore, to do
    this simple task, you have to create a custom itemRenderer where
    you draw your own background in the updateDisplayList function.
    HTH
    Uwe

  • How to read whether dynamic checkboxes are checked or not

    Hi experts ,
              I have created number of checkboxes dynamically. I want to read whether they are checked or not. If they are checked I will do some operations and if not checked some different operations are to be done. Please tell me how to read that checkbox is checked or not.
    Please help.
    Thanks & Regards,
    Pratibha

    Hi pratibhas ,
    While creating the checkbox dynamically, you can bind that checkbox with some context attribute of type WDY_BOOLEAN.
    Now when you need to see whether a perticular checkbox is selected or not, check it's attributes value whether it is 'X' or ' ' .
    Regards,
    Vikrant

  • Printing Selected Records thru Dynamic Checkboxes

    Hi,
    How to print records, selected thru checkboxes on the button action ? Everything is dynamically handled. Kindly help.
    Regards
    Mandeep Kaur

    Hi,
    Please check following blog, which may be helpful for this functionality:
    Implementing Copy Down functionality in WebDynpro Java
    /people/abhilash.gampa/blog/2008/01/16/implementing-copy-down-functionality-in-webdynpro-java

  • CheckBox in Grid

    Hi,
          I have the status field in my table .it contains 0 and 1.
    I bpund the table into grid in my view and chnage that column to CheckBox.
    but its showing always checked.
    I dont want to do any coding for this.
    I am ready to change my column datatype.
    so please let me know which datatype is sutable for bind correct
    data into Checkbox column.
    Regards,
    Kumar K

    Hi,
    If you want the checkobxes to be unchekd then use this code  before binding-
    Pass the values space(abap_false) or X(abap_true).
    X means checked, space means unchecked.
    Loop at lt_table into ls_table
    ls_table-flag = space .
    modify table....
    endloop....
    lr_node->bind_table( lt_table ).
    flag is char(1).
    this flag is a context attribute that is inside the node to which the table is bound.
    Regards,
    Lekha.

  • Dynamically checkbox creation

    Hello,
    i have to create dynamically check box based upon number of fields from database.
    i found some some solution in sdn which is not workinf for me.
    could anyone help me in this.
    thanks

    hELLO AMAI,
    AS YOU SUGESTED I PUT THIS CODE
          DATA: IV_PATH type string.
         DATA LO_ND_CHECK_BOX_NODE TYPE REF TO IF_WD_CONTEXT_NODE.
         DATA LO_EL_CHECK_BOX_NODE TYPE REF TO IF_WD_CONTEXT_ELEMENT.
         DATA LS_CHECK_BOX_NODE TYPE WD_THIS->ELEMENT_CHECK_BOX_NODE.
       navigate from <CONTEXT> to <CHECK_BOX_NODE> via lead selection
         LO_ND_CHECK_BOX_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_CHECK_BOX_NODE ).
       @TODO handle non existant child
       IF lo_nd_check_box_node IS INITIAL.
       ENDIF.
       get element via lead selection
         LO_EL_CHECK_BOX_NODE = LO_ND_CHECK_BOX_NODE->GET_ELEMENT( ).
       alternative access  via index
       lo_el_check_box_node = lo_nd_check_box_node->get_element( index = 1 ).
       @TODO handle not set lead selection
         IF LO_EL_CHECK_BOX_NODE IS INITIAL.
         ENDIF.
       get all declared attributes
         LO_EL_CHECK_BOX_NODE->GET_STATIC_ATTRIBUTES(
           IMPORTING
             STATIC_ATTRIBUTES = LS_CHECK_BOX_NODE ).
    IF  LO_EL_CHECK_BOX_NODE is NOT INITIAL.
    LO_EL_CHECK_BOX_NODE->get_path( EXPORTING WITHOUTCONTROLLER = 'X'
    RECEIVING path = Iv_path ).
    ENDIF.
    CONCATENATE Iv_path '.CHECK_BOX_VALUE' INTO Iv_path.
         RS END
         *      LR_CONTAINER ?= VIEW->GET_ELEMENT( 'ROOTUIELEMENTCONTAINER' ).
          LR_CONTAINER ?= VIEW->GET_ELEMENT( 'TP2' ).
          LR_CHECKBOX = CL_WD_CHECKBOX=>NEW_CHECKBOX(
                  TEXT = IV_TEXT  " 'WD_Processor'
                  BIND_CHECKED =   IV_PATH "'CHECK_BOX_NODE.CHECK_BOX_VALUE' "'CHECK_OPTION.BASIC'
                  VIEW = VIEW ).
         cl_wd_matrix_data=>new_matrix_data( EXPORTING
         element = lr_checkbox
         RECEIVING
         control = lo_matrix_data ).
          CL_WD_MATRIX_HEAD_DATA=>NEW_MATRIX_HEAD_DATA( EXPORTING
          ELEMENT = LR_CHECKBOX
          RECEIVING
          CONTROL = LO_MATRIX_DATA1 ).
         lr_checkbox->set_layout_data( lo_matrix_data ).
          LR_CHECKBOX->SET_LAYOUT_DATA( LO_MATRIX_DATA1 ).
          LR_CONTAINER->ADD_CHILD( LR_CHECKBOX ).
    AND
    BEFORE CONCATENATE
    IV_PATH = 1.CHECK_BOX_NODE.1
    AFTER CONCATENATE
    1.CHECK_BOX_NODE.1.CHECK_BOX_VALUE
    IT IS COMING FOR ALL CHECK BOX
    AND THE VALUE IS COMING, AND AL THE CHECKBOX GETTING SELECTED AGAIN

  • How to bind dynamic checkbox to a table

    Hi,
    I have a table that holds many fields. I put these fields on the screen dynamically.
    I would like to bind a checkbox to select a field row.
    I tried to bind the checkbox to the table but with no success. I keep getting the binding to the first element.
    Does anyone has an example?
    Thanks,
    Itay

    Hi P,
    here is my code:
      LOOP AT lt_available_items ASSIGNING <item>.
        ADD 1 TO lv_col.
        IF lv_col > lv_cell_per_col.
          lv_col = 1.
          ADD 1 TO lv_row.
          lv_new_line = 'X'.
        ENDIF.
    *   Add dynamic group
        CONCATENATE 'GROUP_' lv_col '_' lv_row INTO lv_str.
        lr_new_group = cl_wd_group=>new_group( id = lv_str view = view design = '02' ).
        IF lv_new_line = 'X'.
          CLEAR lv_new_line.
          cl_wd_matrix_head_data=>new_matrix_head_data( element = lr_new_group ).
        ELSE.
          cl_wd_matrix_data=>new_matrix_data( element = lr_new_group ).
        ENDIF.
        lr_new_group->set_width( '230' ).
        cl_wd_matrix_layout=>new_matrix_layout( container = lr_new_group ).
        lr_group->add_child( lr_new_group ).
    *   Left side container
        CONCATENATE 'CONT_L_' lv_col '_' lv_row INTO lv_str.
        lr_new_container = cl_wd_transparent_container=>new_transparent_container(
              id = lv_str view = view ).
        cl_wd_matrix_head_data=>new_matrix_head_data( element = lr_new_container ).
        cl_wd_matrix_layout=>new_matrix_layout( container = lr_new_container ).
        lr_new_group->add_child( lr_new_container ).
    *   Add checkbox
        CONCATENATE 'CHK_' lv_col '_' lv_row INTO lv_str.
        lr_checkbox = cl_wd_checkbox=>new_checkbox( view   = view
                                                    id     = lv_str ).
        lr_matrix_head = cl_wd_matrix_head_data=>new_matrix_head_data( element = lr_checkbox ).
        lr_checkbox->set_layout_data( lr_matrix_head ).
        lr_checkbox->bind_checked( 'AVAILBLE_ITEMS.SELECTED' ).
        lr_new_container->add_child( lr_checkbox ).
    endloop.
    my node is AVAILABLE_ITEMS and it has the attributes: SELECTED, MATNR, MAKTX...
    thanks,
    Itay

Maybe you are looking for

  • ITunes is playing only part of a song.  Why?

    About two and a half years ago I discovered a fan site for my favorite band that allowed other fans to download (for free!) bootleg recordings of the band's concerts. I've played the files a zillion times with no problems. Recently, I discovered that

  • Flash Builder won't replace file in script

    So I'm trying to build an application using augmented reality but I keep running in to a problem.  I want to be able to swap out the marker, but when I change the file path it doesn't take effect. In other words, the original file is "pattern1.pat" a

  • DVD Menu Transition Effects

    I have successfully created a motion graphic DVD menu in AE, which I have rendered to be authored in Encore. The theme is horror/thriller with thriller theme for the BG music. There are two(2) selecitons on the main menu: Play Movie         Bonus Fea

  • Can the silver coating of the MacBook Pro disintegrate?

    I regularly clean my MacBook Pro with a little water or sometimes wet wipes - can the silver coating of the MacBook Pro disintegrate? If so, how regular cleaning it will make it come off? I'm trying to limit myself. Thanks in advance!

  • Bdc while uploading Itab one extra record is coming with 000000 values

    Hi am getting one extra record with 00000 values for begda ,endda and object id  dont know why ? code is like, TYPES : BEGIN OF tt_record, plvar  type   hrp1000-plvar, otype  type   hrp1000-otype, seark  type   hrp1000-objid, begda  type   hrp1000-be