Label indention for advanceddatagrid's tree column

Hello,
I am using advanceddatagrid with and without a label itemrenderer.
This is how it looks WITHOUT any itemrenderer:
And this is how it looks WITH itemrenderer:
When I do not use any itemrenderer, I can see the indention properly. But if I use a label itemrenderer, indention is completely lost Is there a way I can retain the indetion of the data when I use label itemrenderer?
Appreciate your help..
Cheers!
Deepak

we  can do by this way..
gor getting indention we can calculate the blank space for each node in item renderer. eg:
var defaultSpace:string= " ";
//dept=3(eg)
var inde:string="";
for (var count:=0;count<=dept;count++)
     inde=inde+defaultSpace;
text=inde+lable

Similar Messages

  • ToolTip for AdvancedDataGrid

    Hello,
    I would I to ask how to create a tooltip in AdvancedDataGrid.
    My MXML component is a VBox based component.
    This is the code for my custome ToolTip using Panel:
    <fx:Script>
       <![CDATA[
        import mx.controls.Alert;
        import mx.events.FlexEvent;      
        [Bindable]
        public var _dataId:String;
        protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
            var dataid:String;
            dataid = _dataId;
            getSpecificUserDataCResult.token = twitterSentimentManager.getSpecificUserDataC(dataid);
        protected function dataGrid2_creationCompleteHandler(event:FlexEvent):void
            var dataid:String;
            dataid = _dataId;
            getSpecificUserDataUResult.token = twitterSentimentManager.getSpecificUserDataU(dataid);
        ]]>
    </fx:Script>
    This is the code for AdvancedDataGrid:
    <fx:Script>
        <![CDATA[
            import mx.controls.advancedDataGridClasses.AdvancedDataGridItemRenderer;
            import mx.events.FlexEvent;
            import mx.events.ListEvent;
            import mx.events.ToolTipEvent;
            import spark.components.IItemRenderer;     
            private function createCustomToolTip(event:ToolTipEvent):void {
                    var toolTip:CustomToolTip = new CustomToolTip();
                    toolTip._dataId = event.target.data;
                    event.toolTip=toolTip;
            private function createCustomToolTip(event:ToolTipEvent):void {
                var toolTip:CustomToolTip = new CustomToolTip();
                var dataid:String = AdvancedDataGridItemRenderer(event.itemRenderer).data.userID;
                toolTip._dataId = dataid;          
                event.toolTip=toolTip;
            ]]>
    </fx:Script>
    <mx:AdvancedDataGrid x="48" y="50" id="myADG" designViewDataType="tree" data="myADG.currentItem" toolTipCreate="createCustomToolTip(event)" selectedIndex="0" creationComplete="myADG_creationCompleteHandler(event)" dataProvider="{getSpecificCountryCollection}">
        <mx:columns>
            <mx:AdvancedDataGridColumn headerText="sentiment" dataField="sentiment"/>      
            <mx:AdvancedDataGridColumn headerText="userID" dataField="userID"/>
            <mx:AdvancedDataGridColumn headerText="dateTime" dataField="dateTime"/>
        </mx:columns>
    </mx:AdvancedDataGrid>
    </s:TitleWindow>
    It didnt show any error, but nothing happen when mouseover.
    I dont know which part is wrong?
    Thank You!

    Hi,
    I see that this question is unanswerd for a while, and I came across it when I encountered the same problem.
    If you want to acheive the tootip for each CELL in the datagrid then you can use the ItemOver listener
    setup the listener:
    dg.addEventListener(ListEvent.ITEM_ROLL_OVER , itemOver);
    define itemOver:
    public function itemOver(event:ListEvent):void
                    var toolTipText:String                = (AdvancedDataGridItemRenderer)(event.itemRenderer).text; //only if you want to show the text in the cell itself as the tooltip
                    (AdvancedDataGridItemRenderer)(event.itemRenderer).toolTip    = toolTipText;
    and thats all you have to do.
    Regards
    Faizal

  • Tree column in AdvacedDataGrid component

    Hi,
    is it possible to define the column in which the tree is
    displayed? I need the tree in the second column. I always get the
    tree in the first column of the grid. This can't be so hard to
    change. I saw this feature in the treegrid implementation in
    "flexlib".
    Thanks!

    Hi,
    My xml data is a flat data. It looks like:
    <name>John Ross</name> <country>USA</country> <GroupID>1</GroupID>
    <name>Mary Down</name> <country>USA</country> <GroupID>1</GroupID>
    My AdvancedDatagrid uses GroupingCollection with GroupField is "GroupID".
    I don't know how to change tree column to column 2 or 3 instead of column 1.
    Thanks

  • No need label printout for 103 movement

    Hi Experts
    I have experinced some error while using 103 movement.Please below I have furnished details fo error.
    User gets error when ever using 103 (Material post to block stock) movement, which is also queuing in the label print out without printing, when ever using 105 movement for label printout that time gives a problem with unprinted label print outs for 103 movement, user does not want label printout for the movement type 103. Now  workaround is currently local help desk  is deleting the unwanted printouts from queuing and taking the required printouts.
    Please give your valuable resolution for the same.
    Thanks & Regards
    J.Jeyakumar

    hi,
    try using user exit for MIGO
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip      
    MBCF0006            Customer function for WBS element                        
    MBCF0007            Customer function exit: Updating a reservation           
    MBCF0009            Filling the storage location field                       
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26          
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    thanks

  • How to get Text for nodes in Tree Structure

    Hi Friends,
    How to get Text for nodes in Tree Structure
    REPORT  YFIIN_REP_TREE_STRUCTURE  no standard page heading.
                       I N I T I A L I Z A T I O N
    INITIALIZATION.
    AUTHORITY-CHECK OBJECT 'ZPRCHK_NEW' :
                      ID 'YFIINICD' FIELD SY-TCODE.
      IF SY-SUBRC NE 0.
        MESSAGE I000(yFI02) with SY-TCODE .
        LEAVE PROGRAM.
      ENDIF.
    class screen_init definition create private.
    Public section
      public section.
        class-methods init_screen.
        methods constructor.
    Private section
      private section.
        data: container1 type ref to cl_gui_custom_container,
              container2 type ref to cl_gui_custom_container,
              tree type ref to cl_gui_simple_tree.
        methods: fill_tree.
    endclass.
    Class for Handling Events
    class screen_handler definition.
    Public section
      public section.
        methods: constructor importing container
                   type ref to cl_gui_custom_container,
                 handle_node_double_click
                   for event node_double_click
                   of cl_gui_simple_tree
                   importing node_key .
    Private section
      private section.
    endclass.
    *&                        Classes implementation
    class screen_init implementation.
    *&                        Method INIT_SCREEN
      method init_screen.
        data screen type ref to screen_init.
        create object screen.
      endmethod.
    *&                        Method CONSTRUCTOR
      method constructor.
        data: events type cntl_simple_events,
              event like line of events,
              event_handler type ref to screen_handler.
        create object: container1 exporting container_name = 'CUSTOM_1',
                       tree exporting parent = container1
                         node_selection_mode =
                cl_gui_simple_tree=>node_sel_mode_multiple.
        create object: container2 exporting container_name = 'CUSTOM_2',
        event_handler exporting container = container2.
    event-eventid = cl_gui_simple_tree=>eventid_node_double_click.
        event-appl_event = ' '.   "system event, does not trigger PAI
        append event to events.
        call method tree->set_registered_events
             exporting events = events.
        set handler event_handler->handle_node_double_click for tree.
         call method: me->fill_tree.
      endmethod.
    *&                        Method FILL_TREE
      method fill_tree.
        data: node_table type table of abdemonode,
              node type abdemonode.
    types:    begin of tree_node,
              folder(50) type c,
              tcode(60) type c,
              tcode1(60) type c,
              tcode2(60) type c,
              text(60) type c,
              text1(60) type c,
              text2(60) type c,
              end of tree_node.
      data:  wa_tree_node type tree_node,
                t_tree_node type table of tree_node.
    wa_tree_node-folder = text-001.
    wa_tree_node-tcode  = text-002.
    wa_tree_node-text =  'Creditors ageing'.
    wa_tree_node-tcode1 = text-003.
    wa_tree_node-text1 =  'GR/IR aging'.
    wa_tree_node-tcode2 = text-004.
    wa_tree_node-text2 =  'Bank Balance'.
    append wa_tree_node to t_tree_node.
    clear wa_tree_node .
    wa_tree_node-folder = text-005.
    wa_tree_node-tcode  = text-006.
    wa_tree_node-text =  'Creditors ageing'.
    wa_tree_node-tcode1 = text-007.
    wa_tree_node-text1 =  'Creditors ageing'.
    wa_tree_node-tcode2 = text-008.
    wa_tree_node-text2 =  'Creditors ageing'.
    append wa_tree_node to t_tree_node.
    clear wa_tree_node .
    wa_tree_node-folder = text-009.
    wa_tree_node-tcode  = text-010.
    wa_tree_node-text =  'Creditors ageing'.
    wa_tree_node-tcode1 = text-011.
    wa_tree_node-text1 =  'Creditors ageing'.
    wa_tree_node-tcode2 = text-012.
    wa_tree_node-text2 =  'Creditors ageing'.
    append wa_tree_node to t_tree_node.
    clear wa_tree_node .
    node-hidden = ' '.                 " All nodes are visible,
        node-disabled = ' '.               " selectable,
        node-isfolder = 'X'.                                    " a folder,
        node-expander = ' '.               " have no '+' sign forexpansion.
        loop at t_tree_node into wa_tree_node.
          at new folder.
            node-isfolder = 'X'.                      " a folder,
            node-node_key = wa_tree_node-folder.
                   clear node-relatkey.
            clear node-relatship.
            node-text = wa_tree_node-folder.
            node-n_image =   ' '.
            node-exp_image = ' '.
            append node to node_table.
          endat.
         at new tcode .
            node-isfolder = ' '.                          " a folder,
            node-n_image =   '@CS@'.       "AV is the internal code
            node-exp_image = '@CS@'.       "for an airplane icon
            node-node_key = wa_tree_node-tcode.
             node-text = wa_tree_node-text .
                     node-relatkey = wa_tree_node-folder.
            node-relatship = cl_gui_simple_tree=>relat_last_child.
          endat.
          append node to node_table.
        at new tcode1 .
            node-isfolder = ' '.                          " a folder,
            node-n_image =   '@CS@'.       "AV is the internal code
            node-exp_image = '@CS@'.       "for an airplane icon
            node-node_key = wa_tree_node-tcode1.
                     node-relatkey = wa_tree_node-folder.
            node-relatship = cl_gui_simple_tree=>relat_last_child.
              node-text = wa_tree_node-text1.
         endat.
          append node to node_table.
           at new tcode2 .
            node-isfolder = ' '.                          " a folder,
            node-n_image =   '@CS@'.       "AV is the internal code
            node-exp_image = '@CS@'.       "for an airplane icon
            node-node_key = wa_tree_node-tcode2.
                     node-relatkey = wa_tree_node-folder.
            node-relatship = cl_gui_simple_tree=>relat_last_child.
            node-text = wa_tree_node-text2.
         endat.
          append node to node_table.
        endloop.
        call method tree->add_nodes
             exporting table_structure_name = 'ABDEMONODE'
                       node_table = node_table.
      endmethod.
    endclass.
    *&                        Class implementation
    class screen_handler implementation.
    *&                        Method CONSTRUCTOR
      method constructor.
       create object: HTML_VIEWER exporting PARENT = CONTAINER,
                      LIST_VIEWER exporting I_PARENT = CONTAINER.
      endmethod.
    *&                 Method HANDLE_NODE_DOUBLE_CLICK
      method handle_node_double_click.
      case node_key(12).
    when 'Creditors'.
    submit YFIIN_REP_CREADITORS_AGING  via selection-screen and return.
    when  'Vendor'.
    submit YFIIN_REP_VENDOR_OUTSTANDING  via selection-screen and return.
    when 'Customer'.
    submit YFIIN_REP_CUSTOMER_OUTSTANDING  via selection-screen and
    return.
    when 'GR/IR'.
    submit YFIIN_REP_GRIR_AGING  via selection-screen and return.
    when 'Acc_Doc_List'.
    submit YFIIN_REP_ACCOUNTINGDOCLIST  via selection-screen and return.
    when 'Bank Bal'.
    submit YFIIN_REP_BANKBALANCE  via selection-screen and return.
    when 'Ven_Cus_Dtl'.
    submit YFIIN_REP_VENDORCUST_DETAIL via selection-screen and return.
    when 'G/L_Open_Bal'.
    submit YFIIN_REP_OPENINGBALANCE via selection-screen and return.
    when 'Usr_Authn'.
    submit YFIIN_REP_USERAUTHRIZATION via selection-screen and return.
    endcase.
      endmethod.
    endclass.
    Program execution ************************************************
    load-of-program.
      call screen 9001.
    at selection-screen.
    Dialog Modules PBO
    *&      Module  STATUS_9001  OUTPUT
          text
    module status_9001 output.
      set pf-status 'SCREEN_9001'.
      set titlebar 'TIT_9001'.
      call method screen_init=>init_screen.
    endmodule.                 " STATUS_9001  OUTPUT
    Dialog Modules PAI
    *&      Module  USER_COMMAND_9001  INPUT
          text
    module user_command_9001 input.
    endmodule.                 " USER_COMMAND_9001  INPUT
    *&      Module  exit_9001  INPUT
          text
    module exit_9001 input.
    case sy-ucomm.
    when 'EXIT'.
      set screen 0.
    endcase.
    endmodule.
            exit_9001  INPUT

    you can read  the table node_table with nody key value which imports when docubble click the the tree node (Double clifk event).
    Regards,
    Gopi .
    Reward points if helpfull.

  • Access for update only one column in table?

    Hi all,
    My need is to grant access for update only one column c1 in table t1.
    I guess I should use view, could you please give me some example? Maybe other ideas?

    Hi,
    You can grant privileges on individual columns.
    GRANT   UPDATE (c1)
    ON      t1
    TO      grantee_name;Look up GRANT in the SQL language manual. Annoyingly, in recent editions of the manual, GRANT is not indexed, but it's in alphabetic order with all the other statements:
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_9013.htm#i2155015

  • Standard Smartform for label printing for packages - pls advice

    Hi All,
    I need help in changing a print program ie Standard Smartform for label printing for packages ?
    Standard Driver program: SDPACKDR
    Please provide me with the detailed steps for editing the Std Smartform according to any requirement.
    Points will be rewarded promptly.
    Thanks.

    hi,
    1. The smartform name is SD_PACK_ETIK.
    2.Just copy the standard program into Zprogram and make chanes and assign in NACE with the form.
    3.But,in smartform lable printing is not possible.
    4.you can print barcodes.
    Regards,
    Kumar(Reward if helpful).

  • MIGO Print label WEE1 for non stock items from GR for PO

    Hi,
    I added logic to print new label into printing program MZ07DETI which is printing labels for stock items. My label is for non stock items. The problem is that for non stock items printing process is not triggered. I created PO with Account Assign. Category F, P or K no material number and no storage location. For this type of PO no print possible during GR posting. Is any set up available in IMG to make it work. I appreciate any response.

    Hi,
    Please check up if there is any default value at the plant level;in case of such default,the system will post to the GL Account defaulted,not with standing the "standard item category".Better checkup if any cost center /order has been assigned.
    The GL item is defaulted thro'the item category.If both the goods and services have been defaulted to the same GL  Account,then not with standing the type [ie] whether goods or services,the system will post tot he same GL Acct.
    Hope this helps.
    Regards.
    Ramesh

  • Hi, how can i break the value for a row and column once i have converted the image to the array?????​??

    Hi, I would like to know how can i break the value for a row and column once i have converted the image to the array. I wanted to make some modification on the element of the array at a certain position. how can i do that?
    At the moment (as per attachhment), the value of the new row and column will be inserted by the user. But now, I want to do some coding that will automatically insert the new value of the row and the column ( I will use the formula node for the programming). But the question now, I don't know how to split the row and the column. Is it the value of i in the 'for loop'? I've  tried to link the 'i' to the input of the 'replace subset array icon' , but i'm unable to do it as i got some error.
    Please help me!
    For your information, I'm using LABView 7.0.

    Hi,
    Thanks for your reply.Sorry for the confusion.
    I manage to change the array element by changing the row and column value. But, what i want is to allow the program to change the array element at a specified row and column value, where the new value is generated automatically by the program.
    Atatched is the diagram. I've detailed out the program . you may refer to the comments in the formula node. There are 2 arrays going into the loop. If a >3, then the program will switch to b, where if b =0, then the program will check on the value of the next element which is in the same row with b but in the next column. But if b =45, another set of checking will be done at a dufferent value of row and column.
    I hope that I have made the problem clear. Sorry if it is still confusing.
    Hope you can help me. Thank you!!!!
    Attachments:
    arrayrowncolumn2.JPG ‏64 KB

  • Kernel Label problem for SOL MAN 4.0

    Hi
    When was installing a Unicode SolMan 4.0 on Win 2003 SQL server 2005.
    I have downloaded a following CD for Kernel -
    51031778_11 NW 2004s SR1 UC-Kernel 7.00 Windows Server on IA32 32bit
    When I give the LABEL.ASC for kernel, it does not accept it and give me following error -
    You entered: E:/nw04s/kernel/DVD_NW_2004s_SR1_Kernel_Windows__LNX_X86/LABEL.ASC
    Found the label SAP:AKK:700:DVD_KERNEL:SAP Kernel 700:D51031778 but need label
    SAP:AKK:700:KERNEL:.WINDOWS_I386:
    I tried all these option from the below link, but it did not work
    Kernel Label problem...
    Does any one have solution for that?
    I appreciate your help
    regards
    kamal

    Hi udo lang,
    I have downloaded the Kernel file 51031778_3 NW 2004s SR1 Kernel 7.00 Windows Server on IA32 32bit today. I will try to fix the problem by using this kernel.
    I also got reply from Sap that solution for this issue is:
    This is most unusual. Due to the currently running RampUp the
    DVD's could have been updated.
    I suggest that you try the following,
    Download both the Unicode and NonUnicode Kernel files from the
    SAP Service Market Place.
    The Kernel DVD 51031778 contains the Kernel for Unicode and for Non-
    Unicode, as you wrote, in directory "", label:
    "SAP:AKK:700:KERNEL::WINDOWS_X86_64:"
    Please check if you start Unicode Installation. Due to an incorrect
    procedure sapinst requireds both Kernel-CD.
    With the next release will be it correct. If you start a Unicode
    installation it will be a unicode.
    51031792_5 NW 2004s SR1 UC-Kernel 7.00 AIX 64bit
    51031792_1 NW 2004s SR1 Kernel 7.00 AIX 64bit
    Etract them to one directory, like:
    <downloadDIR>/
    kernel/
    KN_WINDOWS_I386/
    KU_WINDOWS_I386/
    CDLABEL.ASC
    LABEL.ASC
    LABELIDX.ASC
    When you ware asked for the kernel DVD, please enter
    <downloadDIR>/kernel
    SAPinst should take the right kernel version for the installation
    automatically.
    You may additionally refer to the below note for reference.
    921593 Inst. SAP NetWeaver 2004s SR1 on UNIX
    If the problem is resolved i will let you know. Thanks for your assistance
    regards
    Kamal

  • File Content Conversion for Unequal Number of Columns

    Hi,
    Iam following this thread FCC for Unequal Number of Columns.
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    when iam doing ,iam getting an error
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'TOTALSET.fieldFixedLengths' or 'TOTALSET.fieldSeparator' is missing Consistency check: no. of arguments in 'TOTALSET.fieldFixedLength' does not match 'TOTALSET.fieldNames' (0 <> 1)
    My conversion parameters are
    Recordset Structure                      : TOTALSET,*
    TOTALSET.fieldNames                 : ITEMSET
    ignoreRecordsetName                   : true
    TOTALSET.fieldSeparator              : 'nl'
    My file structure is as below
    01,021000021,G4886704,080919,0742,001,,,2
    02,G4886704,021000021,1,080918,0742,,2
    03,000000135073477,,010,105303839,,,015,489113155,,,045,489039455,,,072,73700
    Please help in resoving the error.
    Thanks in Advance
    Srinivas

    Hi Srivinas,
    your file structure is as below
    01,021000021,G4886704,080919,0742,001,,,2
    02,G4886704,021000021,1,080918,0742,,2
    03,000000135073477,,010,105303839,,,015,489113155,,,045,489039455,,,072,73700
    So it's easy, you have to use KEYFIELD option, coz you have something like that :
    Line 1 : keyfield = 01 following by a limited number of columns (e.g 30 fields for Structure1)
    Line 2 : keyfield = 02 following by a limited number of columns (e.g 14 fields for Structure2)
    Line 3 : keyfield = 03 following by a limited number of columns (e.g 23 fields for Structure3)
    Thanks to the Keyfield, you define a field which is present in each line that you can used to distinguished the different structures of lines. In your case, it seems that the keyfield is the first column (01, 02, 03).
    Try to use that:
    Recorset = TOTALSET         (and don't use option "ignoreRecordsetName : true")
    Recordset structure =Structure1,1,Structure2,(star),Structure3,(start)       (the difficulty will be to find the good use of "*" and "1", but after some tests you will find the good one).
    Note: replace (start) by the character " * "
    Key field value = keyfield
    Key field type  = String (case sensitive)
    Structure1.fieldNames  = keyfield,field2, field3 etc.. of Structure1
    Structure2.fieldNames  = keyfield,field2, field3 etc.. of Structure2
    Structure3.fieldNames  = keyfield,field2, field3 etc.. of Structure3
    and then you will have a XML like that:
    TOTALSET
    Structure1  and all its fieldN
    Structure2  and all its fieldN
    Structure2  and all its fieldN
    Structure3  and all its fieldN
    Structure3  and all its fieldN
    TOTALSET
    Structure1  and all its fieldN    because I used Structure1,1
    Structure3  and all its fieldN
    Regards.
    Mickael
    Edited by: Mickael Huchet on Apr 20, 2009 5:18 PM
    Edited by: Mickael Huchet on Apr 20, 2009 5:19 PM

  • How to implement a go to next node button for an ADF Tree backed by ADF Bin

    Dear all,
    I have been trying for quite some time now, and I do not get it. For my ADF Tree component, I want to implement a series of little iconic buttons that my users can press to Expand and Collapse the current node - those I have got to work, sort of - and Move to the Next or Previous node. My definition of Next Node is: the next node you can see on the screen; this can either be a child, a sibling or an ancestor's sibling.
    + A
    - B
    |- C
    |+ D
    + E
    So from A, next means B, from B next means C, from C it means D and from D it should go to E.
    My main question is: how can I programmatically set the currently selected node in the tree? And I mean not just set the focusRowKey...
    My tree is bound to a ADF Tree Iterator Binding.
    My tree nodes are 'clickable through an action link; this informs a managed bean of the currently selected node, a JUCtrlHierNodeBinding instance.
    <f:facet name="DeptView1Node" >
    <h:panelGroup>
    <af:commandLink text="#{node.Dname}"
    immediate="true"
    action="StartHrmTree"
    >
    <af:setActionListener from="#{HrmTreeTree.tree.rowKey}"
    to="#{HrmTreeTree.focusRowKey}"/>
    <af:setActionListener from="#{node}"
    to="#{HrmTreeTree.selectedNode}"/>
    <af:resetActionListener/>
    </af:commandLink>
    </h:panelGroup>
    </f:facet>
    At that point, in my setSelectedNode method, I can access the Node, its children etc. Methods calls to the tree are less successful; despite their description in the JavaDoc, calls like: getTreeModel().getRowKey() or getContainerRowKey() return null.
    From the Next Node button:
    <af:commandButton immediate="true" actionListener="#{HrmTreeTree.nextNode}" text="&gt;">
    </af:commandButton>
    I invoke the nextNode() method on my bean. When I access the selectedNode that I saved on this bean when the node was clicked on, I no longer can access the children of the node. Even the childIterator property returns null.
    Using the RowSetIterator I can access the current Row, go to the next row in the RSI, access children, so that seems a reasonable approach. However, I do not know how I can make the first child the currently selected node or even how to tell the tree that the child iterator is the current one.
    Using this code:
    // find out if the current Node has a child
    DCBindingContainer container =
    (DCBindingContainer)JsfUtils.getExpressionValue("#{bindings}");
    String iterName = "HrmTreeTreeIterator";
    JUIteratorBinding ib =
    (JUIteratorBinding)container.findIteratorBinding(iterName);
    List ibs =container.getIterBindingList();
    FacesCtrlHierBinding tree = (FacesCtrlHierBinding)container.findCtrlBinding("HrmTreeTree");
    RowSetIterator rsi2 = ib.getRowSetIterator();
    I never seem to be able to get beyond the RowSet iterator of the root level nodes. How can I make a child node's row set iterator the current one? How is it that my selected node object does not know how to access its child-nodes or even its childIterator binding? What refresh operation is required here?
    Any help will be very much appreciated (and credited in the blog article I will write when it all works out).
    Lucas

    Can you try setSelectedRowKeys(RowKeySet newSelectionState) API on the tree? That should change the selection.
    You can do some thing like this to populate the RowKeySet:
    RowKeySet oldSelectionState = null;
    RowKeySet newSelectionState = null;
    oldSelectionState = table.getSelectedRowKeys(); //table is the table component
    newSelectionState = oldSelectionState.clone();
    newSelectionState.clear();
    Object oldRowKey = table.getRowKey(); //Save the orginal rowKey in the variable
    String rowKey = "XXXX" // the key of the row you want to select
    table.setRowKey(rowKey); //set the currency of the table to the row you want to select
    newSelectionState.setContained(true); //add the current row to the selection key set
    table.setRowKey(oldRowKey); //Restore the currency to the old one.
    table.setSelectedRowKeys(newSelectionState); //update the table selection
    ///Now Do some partial update here to change display

  • Sample Program for Creating ALV Tree

    Hello Guys,
    Can some One Send me some sample program for creating ALV Tree.
    my Requirement is like below Diagram.
    ALV Tree |   ALV GrId
       |
       |
    I want to also about event in ALV , As per requirement when user select (Double click or press any push button) a node of ALV Tree That Node (Contain Sales order and as a child billing Doc No)  In the ALV Grid All the details about Sales order Will be display.
    Please guide me.
    Thanks
    Swati....

    Hi..
    check the following demo programs:
    RSDEMO_DRAG_DROP_EDIT_TREE
    RSDEMO_DRAG_DROP_TREE_MULTI
    BCALV_GRID_DND_TREE
    BCALV_GRID_DND_TREE_SIMPL
    BCALV_TEST_COLUMN_TREE
    BCALV_TEST_SIMPLE_TREE
    BCALV_TREE_01
    BCALV_TREE_02
    BCALV_TREE_03
    BCALV_TREE_04
    BCALV_TREE_05
    BCALV_TREE_06
    BCALV_TREE_DEMO
    BCALV_TREE_DND
    BCALV_TREE_DND_MULTIPLE
    BCALV_TREE_EVENT_RECEIVER
    BCALV_TREE_EVENT_RECEIVER
    BCALV_TREE_ITEMLAYOUT
    BCALV_TREE_MOVE_NODE_TEST
    BCALV_TREE_SIMPLE_DEMO
    BCALV_TREE_VERIFY
    hope this helps..
    -kothai

  • Specify the location for any newly added column

    Hi friends,
    Is it possible in Oracle to specify the location for any newly added column. why it always goes to
    the last , I want to add a new column at first.
    If it is possible and anybody knows please tell me.
    Thanks & Regards
    Chandrakishore Bankhede

    Hi Chandrakishore,
    Not exactly a spatial question but the answer is "no" as far as I am aware.
    TOAD for Oracle has a nice feature called "Rebuild Table" that provides a GUI interface for redefining and moving columns around. Basically it generates all the required DDL for you - it saves all the constraints, indexes, triggers, etc. Then it creates a new table with your changes, renames the old table with a suffix and replaces all the constraints, indexes, triggers on the new table. Most helpful.
    However - see this makes the post spatial in nature :) - for as long as I have been around this feature of TOAD has not been able to handle SDO_GEOMETRY columns - failing with "ORA-22917: use VARRAY to define the storage clause". The good news is the new TOAD 10 now is free of this bug.
    This is not meant to be a commercial for TOAD, I just don't know of any other product with this feature. Others may know of similar things perhaps or you can write a function yourself in PL/SQL.
    Cheer,
    Paul

  • What to do if my master page is too small for custom master page column, I need to change the papers

    What to do if my master page is too small for custom master page column, I need to change the papersize from A4 to US letter size *

    My 2nd gen works fine with WPA2 and AES encryption.
    You may need to go back and start over.  Reset the router back to factory defaults, log on as the admin, set up security, DHCP, and make sure the IP address pool has enough IP addresses to lease to ALL of the computers/devices that will connect to that the router.

Maybe you are looking for

  • NAT/PAT Two private IP's to one Real on the same port.

    Hello all. I have the following situation. A colleagues installed a spam block (Norton something) and he put two ip's on itsinterfaces. 192.168.2.20 and 192.68.2.21. One will be used to receive and one to send mail but both on port 25. They use a sin

  • GH2 Video File Strange New Behavior

    I've been working the last 6 months with 4 GH2s and ran into some strange troubles when initially importing them to the timeline. 2 hour shots are divided into 6 or 7 different files, and when brought into PP the first clips audio was assigned to all

  • Retracting task in process workflow

    Hi experts, I'm currently working on how to retracting task in specific workflow.The situation is like this: User A initiates form then assign it to user B  (task B). User B completes (task B) then assigns to user C (task C). In case user B forgets s

  • Apps dont open

    For some reason, when I go to open some apps that I download from the apple.com downloads page they just dont open. The app icon will bounce in the dock for no more than a second and then disappear, no matter how many times I try. I have a ppc runnin

  • Document() XPath function question

    I've seen this function used in Flight Finder demo to reference external XML document - is it in W3C standard draft/recommendation or it's an Oracle proprietary extension? Can I rely on this function or it's subject to change/evaporate any time? At l