About Checkbox

Hi all,
           in my classical report i have used checkbox with the use of REUSE_ALV_HIERSEQ_LIST_DISPLAY function.
now i want to get the event when check box is checked.
thanx in advance
shardul shah

Hi,
Herewith i am sending the sample report for checkbox in alv.
Kindly go through it.
REPORT  YMS_CHECKBOXALV.
TYPE-POOLS: slis.
DATA: t_fieldcatalog TYPE slis_t_fieldcat_alv.
DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
DATA: s_layout TYPE slis_layout_alv.
DATA: BEGIN OF itab OCCURS 0,
icon TYPE icon-id,
vbeln TYPE vbeln,
kunnr TYPE kunnr,
erdat TYPE erdat,
box TYPE c,
END OF itab.
DATA: v_repid TYPE syrepid.
START-OF-SELECTION.
Get the data.
SELECT vbeln kunnr erdat UP TO 100 ROWS
FROM vbak
INTO CORRESPONDING FIELDS OF TABLE itab.
IF sy-subrc <> 0.
MESSAGE s208(00) WITH 'No data found'.
LEAVE LIST-PROCESSING.
ENDIF.
Modify the record with red light.
itab-icon = '@0A@'.
MODIFY itab TRANSPORTING icon WHERE NOT vbeln IS initial.
v_repid = sy-repid.
Get the field catalog.
CLEAR: s_fieldcatalog.
s_fieldcatalog-col_pos = '1'.
s_fieldcatalog-fieldname = 'ICON'.
s_fieldcatalog-tabname = 'ITAB'.
s_fieldcatalog-seltext_l = 'Status'.
s_fieldcatalog-icon = 'X'.
APPEND s_fieldcatalog TO t_fieldcatalog.
CLEAR: s_fieldcatalog.
s_fieldcatalog-col_pos = '2'.
s_fieldcatalog-fieldname = 'VBELN'.
s_fieldcatalog-tabname = 'ITAB'.
s_fieldcatalog-rollname = 'VBELN'.
APPEND s_fieldcatalog TO t_fieldcatalog.
CLEAR: s_fieldcatalog.
s_fieldcatalog-col_pos = '3'.
s_fieldcatalog-fieldname = 'KUNNR'.
s_fieldcatalog-tabname = 'ITAB'.
s_fieldcatalog-rollname = 'KUNNR'.
APPEND s_fieldcatalog TO t_fieldcatalog.
CLEAR: s_fieldcatalog.
s_fieldcatalog-col_pos = '4'.
s_fieldcatalog-fieldname = 'ERDAT'.
s_fieldcatalog-tabname = 'ITAB'.
s_fieldcatalog-rollname = 'ERDAT'.
APPEND s_fieldcatalog TO t_fieldcatalog.
Set the layout.
s_layout-box_fieldname = 'BOX'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = v_repid
is_layout = s_layout
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = t_fieldcatalog[]
TABLES
t_outtab = itab.
FORM SET_PF_STATUS *
--> EXTAB *
FORM set_pf_status USING extab TYPE slis_t_extab.
SET PF-STATUS 'TEST2'.
ENDFORM.
FORM user_command *
--> UCOMM *
--> SELFIELD *
FORM user_command USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
Check the ucomm.
IF ucomm = 'DETAIL'.
LOOP AT itab WHERE box = 'X'.
itab-icon = '@08@'.
MODIFY itab TRANSPORTING icon.
ENDLOOP.
ENDIF.
selfield-refresh = 'X'.
ENDFORM.
Thanks,
Shankar

Similar Messages

  • Stupid simple question about checkboxes

    Hi I have two fields in my form that I want designated as checkboxes... a user is either internal or not. I keep reading about checkboxes... that they return True/False or Yes/No. I have tried both, but cannot chenge the value of the checkbox or the database field associated with it. How do I
    A) get the value of the checkbox (checked/unchecked)
    b) change said value into a 'Y' or 'N' so it can be entered into our table?
    Here's the code I'm attempting to use:
    declare
    iProgSeq integer;
    Projno integer:=p_session.get_value_as_number(p_block_name=>'DEFAULT', p_attribute_name => 'A_PROGRESS_PROJECT_NUMBER');
    cActive varchar2(3);
    cInternal varchar2(3);
    begin
    cActive:=p_session.get_value_as_varchar2(p_block_name=>'DEFAULT', p_attribute_name => 'A_PERSON_ACTIVE_IND');
    cInternal:=p_session.get_value_as_varchar2(p_block_name=>'DEFAULT', p_attribute_name => 'A_PERSON_INTERNAL_IND');
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_PERSON_USER_ID',
    p_value => portal.wwctx_api.get_user
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_PERSON_ACTIVITY_DATE',
    p_value => sysdate
    if cActive = 'NO' then
    cActive:= 'N';
    else
    cActive:= 'Y';
    end if;
    p_session.set_value(
         p_block_name => 'DEFAULT',
    p_attribute_name => 'A_PERSON_ACTIVE_IND',
    p_value => cActive
    if cInternal = 'NO' then
    cInternal:= 'N';
    else
    cInternal:= 'Y';
    end if;
    p_session.set_value(
         p_block_name => 'DEFAULT',
    p_attribute_name => 'A_PERSON_INTERNAL_IND',
    p_value => cInternal
    doInsert;
    end ;
    --p_session.set_value(
    --p_block_name     => "_block",
    --p_attribute_name => '_STATUS',
    --p_value          => 'oops');
    --null;
    return ;
    Why are checkboxes (which you'd think would be pretty straightforward) such a pain?

    ANYONE?! This is urgent, please help!

  • Problem about checkbox for script generator

    Hi friends,
    I wish successes to everybody!
    My question is such:
    When i change the value of the following code (value="0") that is shown in the situation to checked
    But when i click the submit button nothing is generated so how to get my page on checked state?
    Program side:
    List<ClassProperty> mainList = new ArrayList<ClassProperty>();
    for (int i = 0; i < classPropertyList.size(); i++) {
    ClassProperty classProperty = (ClassProperty) classPropertyList.get(i);
    if (classProperty.getSelected() == 1) {
    mainList.add(classProperty);
    JSP page:
    <html-el:checkbox name="scriptGeneratorForm"
    property="classPropertyList[${ctr}].selected"
    styleId="classPropertyList[${ctr}].selected" value="1"
    tabindex="1"/>

    thank you very much, in fact, my site's oracle never works about managing archive files automatically although I have tried all my best. at last, I made a job running daily to check the archive files and delete them.
    thanks again.

  • About checkbox and calculation with that value..pls help me ...

    Hi, in my applet there are three checkboxes about food shape which is wanted to be selected by the user. The user will choose one of them and by his/her choice p and r values are set and i think its done by itemStateChange method. In this method using by if the p and r values are differently set because of users different 3 choice. But because the method is closed using }after writing it and before starting actionperformed method. In action performed method if button is pressed the calculation is done (if i would afford to write it in a true way). My question arises with usage of p and r values which is set in other first method and call it in next method and use it in calculation and making the calculation work. May be it is very easy to do it but not for me being at first step of programming. Thank u for all of ur interest. My codes are below:
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.Applet;
    import java.text.*;
    public class kenan extends Applet implements ActionListener, ItemListener {
    DecimalFormat df=new DecimalFormat("0.####");
    double p, r;
    Panel satir1 = new Panel();
    Label l1 = new Label("Asagidaki kutulara gerekli degerleri girip 'hesapla' butonuna bas&#305;n&#305;z", Label.CENTER);
    Panel satir2 = new Panel();
    CheckboxGroup sekil = new CheckboxGroup();
    Checkbox levha = new Checkbox("Levha", false, sekil);
    Checkbox silindir = new Checkbox("Silindir", false, sekil);
    Checkbox kure = new Checkbox("Kure", false, sekil);
    Panel satir3 = new Panel();
    Label yogunluk = new Label("Yogunluk");
    TextField y = new TextField();
    Label kalinlik = new Label("Kalinlik");
    TextField dx = new TextField();
    Label iletim = new Label("Iletim katsayisi");
    TextField k = new TextField();
    Label tasinim = new Label("Tasinim katsayisi");
    TextField h = new TextField();
    Label ilksicaklik = new Label("Baslangic sicakligi");
    TextField tilk = new TextField();
    Label cevresicaklik = new Label("Cevre sicakligi");
    TextField tcevre = new TextField();
    Panel satir4 = new Panel();
    Button hesapla = new Button("Hesapla");
    Panel satir5 = new Panel();
    Label sure = new Label("Donma icin gecmesi gereken sure");
    Label tdonma = new Label("t");
    public void init(){
    GridLayout appletLayout = new GridLayout(5, 1, 5, 5);
    setLayout(appletLayout);
    FlowLayout layout1 = new FlowLayout(FlowLayout.LEFT, 5, 5);
    satir1.setLayout(layout1);
    satir1.add(l1);
    add(satir1);
    FlowLayout layout2 = new FlowLayout(FlowLayout.LEFT, 5, 5);
    satir2.setLayout(layout2);
    satir2.add(levha);
    satir2.add(silindir);
    satir2.add(kure);
    add(satir2);
    GridLayout layout3 = new GridLayout(3, 2, 5, 5);
    satir3.setLayout(layout3);
    satir3.add(yogunluk);
    satir3.add(y);
    satir3.add(kalinlik);
    satir3.add(dx);
    satir3.add(iletim);
    satir3.add(k);
    satir3.add(tasinim);
    satir3.add(h);
    satir3.add(ilksicaklik);
    satir3.add(tilk);
    satir3.add(cevresicaklik);
    satir3.add(tcevre);
    add(satir3);
    FlowLayout layout4 = new FlowLayout(FlowLayout.CENTER, 5, 5);
    satir4.setLayout(layout4);
    satir4.add(hesapla);
    add(satir4);
    FlowLayout layout5 = new FlowLayout(FlowLayout.CENTER, 5, 5);
    satir5.setLayout(layout5);
    satir5.add(sure);
    satir5.add(tdonma);
    add(satir5);
    setBackground(Color.lightGray);
    hesapla.addActionListener(this);
    levha.addItemListener(this);
    silindir.addItemListener(this);
    kure.addItemListener(this);
    public void itemStateChanged(ItemEvent event)
    String command = (String) event.getItem();
    if (command =="levha")
    {double p = 1/2;
    double r = 1/8;
    if (command =="Silindir")
    {double p = 1/4;
    double r = 1/16;
    else
    {double p = 1/6;
    double r = 1/24;}
    public void actionPerformed(ActionEvent event)
    {if (event.getSource()==hesapla)
    {double q,d,ti,tc,ki,hc;
    q = Double.valueOf(y.getText()).doubleValue();
    d = Double.valueOf(dx.getText()).doubleValue();
    ti = Double.valueOf(tilk.getText()).doubleValue();
    tc = Double.valueOf(tcevre.getText()).doubleValue();
    hc = Double.valueOf(h.getText()).doubleValue();
    ki = Double.valueOf(k.getText()).doubleValue();
    double buzE = 333707.99;
    double x = r*(Math.pow(d,2));
    double tsure = (q*buzE/(ti-tc))*((p*d/hc)+(x/ki));
    tdonma.setText(String.valueOf(df.format(tsure)));
    }

    First thing to fix is in itemStateChanged, use "equals" instead of "=="
    if (command.equals("levha"))
    else if (command.equals(...))
    Second thing is:
    double r = 1/2;is really telling Java the following:
    int tempR = 0; //integer division of 1/2;
    double r = (double) tempR = 0;Use:
    double r = ((double) 1)/2; // or just use 1.0/2.0;-------------
    Third thing is that your declarations of r and p in itemStateChanged hide the declaration of r and p in your kenan class. Just say:
    r = ((double) 1)/2; // or "r = 1.0/2.0;"-------------
    Try those three things, see what happens, and post the results.

  • Enquiry about checkbox

    Hi,
    My requirement is
    I have one editable field in my alv report.
    After editing that particular field , next screen has to be called.
    In the Next screen, I need to have one checkbox for one  sales order with different items.
    But the checkbox is repeating for each items.
    Any way to sort the checkboxes

    Hi,
    Example:
    TYPES: BEGIN OF csg_gs_outtab .
    TYPES: fcheckbox TYPE c. "field for checkbox
    TYPES: fcelltab TYPE lvc_t_styl. "field to switch editability
    INCLUDE STRUCTURE csg_wizard_falv .
    TYPES: END OF csg_gs_outtab.
    Add this while creating fieldcatalog
    CLEAR ls_fcat.
    ls_fcat-fieldname = 'FCHECKBOX'.
    Essential: declare field as checkbox and
    mark it as editable field:
    ls_fcat-checkbox = 'X'.
    ls_fcat-edit = 'X'.
    do not forget to provide texts for this extra field
    ls_fcat-coltext = text-f02.
    ls_fcat-tooltip = text-f02.
    ls_fcat-seltext = text-f03.
    This will decide where this checkbox column will appear.
    ls_fcat-col_pos = 3.
    ls_fcat-outputlen = 10.
    APPEND ls_fcat TO csg_pt_fieldcat.
    Thanks,
    Shankar

  • About' Checkbox' of apply in Table.

    Please help me solve a problem:
    My Web dynpro is a Apply a table generate of call Web service EJB.
    Be used a table ,the Table include Checkbox .
    The Checkbox is binding a boolean context. Type is com.sap....booleanObject.
    Why I runned the Checkbox is single select? I’m think it's multi select. why?
    Thank u everyone.

    Hi
    You can use the Checkbox by group for this.In your case u are use the Single check box.
    See this Sample and help.
    Re: check box and radio button tutorial?
    Kind Regards
    Mukesh

  • A quick question about the htmldb_item.checkbox function

    I know many posts about checkbox have been posted, yet I couldn't find the answer after some searches.
    I have something like:
    select
    htmldb_item.checkbox(1, col_name)
    from...
    What I need is to have is the the heading of the checkbox column same as what the wizard does. I mean you can 'check all' with that. If I put a string after the right parentheses, I got that string rendered as the name of the checkbox column, which was not I want.
    I couldn't find the answer from the document, neither from the how-to.
    Thanks in advance.

    What I need is to have is the the heading of the
    checkbox column same as what the wizard does. I mean
    you can 'check all' with that. If I put a string
    after the right parentheses, I got that string
    rendered as the name of the checkbox column, which
    was not I want.
    I couldn't find the answer from the document, neither
    from the how-to.Do you want a checkbox as the header for the checkbox column? So you can check/uncheck all the checkboxes? If so, this is addressed directly in the how-to.
    If this is not what you want I don't understand exactly what it is that you're attempting. Perhaps some elucidation would be in order?
    Earl

  • Checkbox in classic report

    I have question about checkbox in classic report.
    I need to choose only one checkbox in every row, hot to ensure that only one checkbox can be checked at same time?
    Checkboxes are defined in SQL query as:
    apex_item.checkbox(1,msisdn,'UNCHECKED') as clear,
    apex_item.checkbox(2,msisdn,'UNCHECKED') as to_analysis,
    apex_item.checkbox(3,msisdn,'UNCHECKED') as to_barring
    here is the picture:
    http://www.deviantpics.com/images/mNgGR.jpg
    Tnx!

    amend your api calls to add onclick event to every checkbox column
       apex_item.checkbox(1,msisdn,'UNCHECKED onclick="chkckbox(1,this);"' ) as clear,
       apex_item.checkbox(2,msisdn,'UNCHECKED  onclick="chkckbox(2,this);"') as to_analysis,
       apex_item.checkbox(3,msisdn,'UNCHECKED  onclick="chkckbox(3,this);"') as to_barringCreate a javascript function in your page header > Javascript
    function chkckbox(pId, pThis) {
    //get current row index
        var currIndex = $('input[name="f0'+pId+'"]').index(pThis);
         if (pThis.checked) {
       //simply uncheck other check boxes
              if (pId == 1) {
                   $('select[name="f02"]')[currIndex].checked = false;
                   $('select[name="f03"]')[currIndex].checked = false;
              } else if (pId == 2) {
                   $('select[name="f01"]')[currIndex].checked = false;
                   $('select[name="f03"]')[currIndex].checked = false;
              } else if (pId == 3) {
                   $('select[name="f02"]')[currIndex].checked = false;
                   $('select[name="f03"]')[currIndex].checked = false;
    }Please note that I have not tested this code but it should work, if you have any problem just try debugging using console.log

  • Change Checkbox status at runtime

    Hi,
    I've got a question about checkboxes.
    How do I change the status of a checkbox from unchecked to checked (or vice versa) at runtime?
    How can I access it's values to say something like this:
    if (cond1 = true) then
    checkbox1 = 'CHECKED'
    else
    checkbox1 = 'UNCHECKED'
    pls help me.
    Thanks!

    Hello,
    Take a look at this thread -
    Re: reference checkbox.checked value in javascript
    If you're using a fairly recent version of Apex you can use the $x and $v syntax rather than html_GetElement, like this -
    if ($x('item').checked == false) {
    alert("The checkbox is not checked!");
    }Hope this helps,
    John.
    http://jes.blogs.shellprompt.net
    http://www.apex-evangelists.com

  • [CS2/CS3] - Checkbox list

    Hello everyone,
       I have problem with checkbox widget, I would like to generate list of checkboxes (as you can see from snapshot), the quantity of checkboxes is known during runtime of code, so I want to be able to add (remove) checkbox from list and be able to get infos about checkboxes(Selected/Unselected). I have spent a lot of time searching for some solution and I'm sure, I'm not the first one who is solving mentioned problems.
    Please could anyone suggest some solution or even add some source files for this kind of problems ?
    Thank you very much and I'm looking for your posts
    Snapshot:
    marxin

    Thanks for the offer for help!
    http://www.solaray.com.au/solaray-specials/4kw-enphase-sale
    So this is one product as an example. On an ipad it wont select the check box for the terms and conditions. It is a checkbox list and a product attribute.
    Tom.

  • ValueChangeListner not firing on Unchecking Checkbox in TreeTable

    Hi All,
    I am working on Tree Table(based on Viewobject and viewlink to same ViewObject) in JDEV 11G.
    I have a selectBooleanCheckbox in TreeTable based on a Transient Attribute(Number datatype because in VO query as given 0 as default value in query),Changed its type to Boolean in VO Attribute.
    I have a ValueChangeListner on this selectBooleanCheckbox.
    Value Change Listner Fires
    1.When User Check or UnCheckbox Root Node.
    2.When Use Check any Child Node under Root Node or any Nested Level.
    Value Change Listner Doesn't Fires(Problem)
    1.When user uncheck any Child Node under Root Node or any Nested Level.
    Need inputs to understand the issue i.e why Value Change Listner Doesn't fire and possible Solutions.
    Amit

    Some further information about checkboxes and value change listeners to be aware of:
    Re: ADF Faces/RC: unchecked selectBooleanCheckbox PPR issue
    CM.

  • Checkbox field only reads highlighted not other fields that are checked.

    Hello All,
    I am having an issue with an Oracle form that I am working on.
    I have a datablock called PARTS_ADDED_POPUP. It has two textbox fields called PART_NBR and PART_SERL and a checkbox field called STATUS_FLAG.
    After all of the required information is filled in and you click the button to update the database with the new information that is required. It will update the part_nbr and part_serl that is currently highlighted when you selected it from the datablock but it will not update the other part_nbr and part_serl that you selected.
    For example:
    Part Nbr 12345A
    Part Serl ABC1
    Status Flag = 'Y'(NOT Highlighted)
    Part Nbr 12345A
    Part Serl DEF2
    Status Flag = 'Y'(Is Highlighted by datablock)
    It will only update the second one because it is currently highlighted in the datablock.
    I am using this code in the program units section of my form. Excuse my messiness in the code because I was trying to see to what data is being pulled in.
    if :detail.pm_man_div_code = 'Y' then
    GO_BLOCK('PARTS_ADDED_POPUP');
    first_record;
    loop
    IF :parts_added_popup.status_flag = 'Y' then                                             
    SELECT STATEMENT HERE!!
    update statement here
    cos_quantity := '-1';
         Subr_Inv(
         :detail.sl_stock_loc_no, --ibup_from_stock_loc
         :parts_added_popup.pwd_part_nbr, --ibup_from_part_nbr
         'N', --ibup_from_status_flag
         condition, --ibup_from_condition
         cos_quantity);
    cos_quantity := '1';
    Subr_Inv(
    :issue.cos_stocking_loc, --ibup_to_stock_loc
    :parts_added_popup.pwd_part_nbr, --ibup_to_part_nbr
    'N', --ibup_to_status_flag
    condition, --ibup_to_condition
    cos_quantity);
                                       exit when :system.last_record = 'TRUE';                               
                                  next_record;                              
                        else
                             exit when :system.last_record = 'TRUE';
                             next_record;
                                       end if;
                             end loop;
                   end if;
    I have read other forum/post in here about checkboxes and this is how I came to my code as to what it is right now. Just trying to figure out how to get it to read thru every record on that datablock.
    I am hoping that I can get a response by the end of the day today. If you have any questions please let me know.
    Any help, suggestions are appreciated.
    Thanks,
    Wayne
    Edited by: Wayne Major on Aug 28, 2009 7:06 AM
    Had to make it generic now..so I didn't want to get in trouble but that is the solution that I did in the code

    You said: "you click the button to update the database with the new information that is required"
    Put message in this button to display :system.cursor_block.
    If it's not the PARTS_ADDED_POPUP you might want to add GO_BLOCK('PARTS_ADDED_POPUP') to your code, or to change property of that button Mouse Navigate = No

  • Please help me regarding check box..plzzzzz

    Hi,
         I posted the doubt about checkbox but no one replied. Please any one give me idea for making the operation. The attached VI shows the checkbox(regulated) in front panel with some textboxes below. So, now i want to make when the checkbox is clicked(on or regulated) i want to display first six textboxes with front labels and when it unchecked(off or unregulated) i want display only last two text boxes with front labels. And i want to deliver the data from read and write block to these text boxes.
                please help me i waste 3 days for this and i did not find any way. Looking for big help.
    Attachments:
    Basic_Serial_Write_and_Read.vi ‏32 KB

    First of all, if the user is supposed to operate the checkbox, it should be a control, not an indicator. right?
    Things like this are most easily done in a parallel event loop that handles nothing but UI changes. Here's a quick draft. It needs a little bit more code to stop the lower loop if the upper loop stops due to error. I am sure you can figure something out.
    Some other comments:
    Do you really need to configure the serial port and close the session with every iteration of the loop? Typically these things need to be done only once, before and after loop, respectively. That VI needs some serious work in general....
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ChangeVisibility.png ‏19 KB
    Basic_Serial_Write_and_ReadMOD.vi ‏29 KB

  • [CS2/CS3] - TreeViewWidgetMgr & NodeID

    Hello,
       I'm trying to use WListBoxComposite SDK sample to modify TreeView and add CheckBox for each TreeNode. I changed resource file:
    resource WLBCmpNodeWidget (kWLBCmpListElementRsrcID + index_enUS)
        __FILE__, __LINE__,
        kWLBCmpListParentWidgetId, kPMRsrcID_None,    // WidgetId, RsrcId
        kBindLeft | kBindRight,            // Frame binding
        Frame(0, 0, 194, 20),            // Frame
        kTrue, kTrue,                    // Visible, Enabled
        "",                                // Panel name
            CheckBoxWidget
                // CControlView properties
                kCheckBoxWidgetID, // widget ID
                kSysCheckBoxPMRsrcId, // PMRsrc ID
                kBindNone, // frame binding
                Frame(15,1,40,18) //  left, top, right, bottom
                kTrue, // visible
                kTrue, // enabled
                // TriStateControlAttributes properties
                kAlignLeft, // alignment
                // CTextControlData properties
                "", // control label
            // Just a info-static text widget with about-box text view to get white bg.
            WLBCmpTextWidget
                kWLBCmpTextWidgetID, kPMRsrcID_None,        // WidgetId, RsrcId
                kBindLeft | kBindRight,                                // Frame binding
                Frame(45,1,194,18)                                    // Frame
                kTrue, kTrue, kAlignLeft,kEllipsizeEnd                // Visible, Enabled, Ellipsize style
                "",                                                    // Initial text
                0,                                                    // Associated widget for focus
                kPaletteWindowSystemScriptFontId,                    // default font
                kPaletteWindowSystemScriptHiliteFontId,                // for highlight state.
    I know that method TreeViewWidgetMgr::ApplyDataToWidget uses informations from WLBCmpNodeID class which represents data of tree node. I tried to add a variable to this class which is refering about checkbox state (selected/unselected). But now I have problem to get information in checkbox observer to get NodeID to save state of checkbox in node ? Please could you help me with this problem ?
    Thanks, marxin

    When I see resource file, there is definition of StringListData to storing names of clubs( which is in sample), should I replace it with IID_IBOOLLISTDATA to store vector of checkboxes:
    Class
            kWLBCmpListBoxWidgetBoss,
            kTreeViewWidgetBoss,
                /** Furnishes application framework with widgets as needed */
                IID_ITREEVIEWWIDGETMGR,  kWLBCmpTVWidgetMgrImpl,
                /** Adapts our data model to the needs of the application framework */
                IID_ITREEVIEWHIERARCHYADAPTER,  kWLBCmpTVHierarchyAdapterImpl,
                /** Hold names of the list item */
                IID_ISTRINGLISTDATA,        kStringListDataImpl,
                /** Adding for saving checkboxes states ? */
                IID_ISTRINGLISTDATA,        kBoolListDataImp,
                /** Display selection message */  
                  IID_IOBSERVER,    kWLBCmpListBoxObserverImpl,
    In WLBCmp sample TreeViewAdapter get strings (names) from IStringListData, but I don't know how to save the state from CBoxes and store it to this BoolListData ?
    I hope you'll have some time to help me
    Thank you, marxin

  • Data grid view adding check box not able to check state

     i have make window search a city name result show on data grid view and i have added the check box when i am checking the check box and other search  of keyword that same row i am un checking the chek box when search it remain check how to making
    it check for al type of keyword

     i have make window search a city name result show on data grid view and i have added the check box when i am checking the check box and other search  of keyword that same row i am un checking the chek box when search it remain check how
    to making it check for al type of keyword
    Hello,
    It's not clear what the issue is, you could be more specific by sharing some screenshots and code.
    In addition, it will be more clear if you could separate the description into multiple sentences.
    Which control did you want to get help about? The checkbox or datagridview?
    If it is checkbox, did you want to keep checked or keep it uncheck?
    If it is datagridview, whether you are talking about checkbox column?
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Trying to print w/ an Epson Photo R260 and a Buffalo LPV3 USB Print Server

    Long story. I had a home network with my iMac, my wife's PC and a Brother Multi-Function (networkable) printer...everything worked great. Tried to add an Epson Photo R260 so I can print photos and DVDs. Purchased a Buffalo LPV3 USB Print Server. Spen

  • I cant find drivers for ipod nano 6th edition can any one help

    i cannot get my ipod nano 6th edition to register on my computer or itunes i dont have a disc and message says to down load the driver can anyone help please

  • Sorting by summary column, query based on previous query.

    Using 10g reports. I've got a report with one query currently thats broken down itno a couple groups. I'm trying to change the order they are displyed by based on a summary count of each group. I'm also trying to do another query for the report based

  • Adapter Framework can not access SLD

    Hi, That's what I get from JPR adapter: "SLD host:port = sap2:50100 Error getting JPR configuration from SLD. Exception: User credentials are invalid or user is denied access No access to get JPR configuration" And in the trace file I'm getting : "Us

  • PSE 9 Changing FIle FOrmat

    Please help!  Beginning yesterday, PSE9 has been changing my filr format.  I Save As TIFF, and it stays a JPEG.  If I try to save a TIFF file as JPEG, it remains TIFF.  Now 10 files won't open and it says "unknown" even though I can see it on both th