How To Populate An Advanced Data Grid In Flex With An XML Document Created In JAVA

Flex Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="856" height="698" initialize="onInitData()">
    <mx:RemoteObject destination="utilityUCFlexRO" id="utilityUCFlexRO">
        <mx:method name="updateStationDetails" result="handleUpdateStationDetailsResult(event)" fault="handleUpdateStationDetailsFault(event)"/>
    </mx:RemoteObject>
    <mx:RemoteObject id="uniqueIdMasterUCFlexRO" destination="uniqueIdMasterUCFlexRO">
        <mx:method name="readByCustomerName" result="handleReadByCustomerNameResult(event)" fault="handleReadByCustomerNameFault(event)"/>
        <mx:method name="getCustomerAcDetails" result="handlegetCustomerAcDetailsResult(event)" fault="handlegetCustomerAcDetailsFault(event)"/>
    </mx:RemoteObject>
    <mx:Script>
        <![CDATA[
            import mx.events.ListEvent;
            import mx.collections.ItemResponder;
            import com.citizen.cbs.model.UniqueIdMaster;
            import mx.managers.PopUpManager;
            import mx.controls.ProgressBarMode;
            import mx.effects.Fade;
            import mx.controls.ProgressBar;
            import com.citizen.cbs.CitizenApplication;
            import mx.core.Application;
            import mx.messaging.messages.ErrorMessage;
            import mx.rpc.events.FaultEvent;
            import mx.rpc.events.ResultEvent;
            import mx.collections.ArrayCollection;
            import mx.controls.Alert;
            private var moduleCloseFlag:Boolean=false;
            private var v:UniqueIdMaster;
            [Bindable]
            private var customerDetails:ArrayCollection;
            [Bindable]
            private var branch:int=0;
            [Bindable]
            private var XMLDocument:XML;
            [Bindable]
            private var acDetails:XMLList;
            private var _progBar:ProgressBar = new ProgressBar();
            private function showLoading(e:Event = null):void
                _progBar.width = 200;
                _progBar.indeterminate = true;
                _progBar.labelPlacement = 'center';
                _progBar.setStyle("removedEffect", Fade);
                _progBar.setStyle("addedEffect", Fade);
                _progBar.setStyle("color", 0xFFFFFF);
                _progBar.setStyle("borderColor", 0x000000);
                _progBar.setStyle("barColor", 0x6699cc);
                _progBar.label = "Please wait.......";
                _progBar.mode = ProgressBarMode.MANUAL;
                PopUpManager.addPopUp(_progBar,this,true);
                PopUpManager.centerPopUp(_progBar);
                _progBar.setProgress(0, 0);
            private function onInitData():void
                utilityUCFlexRO.updateStationDetails(CitizenApplication.menuParameters["modulecode"]);
            private function handleUpdateStationDetailsResult(event:ResultEvent):void
                if(moduleCloseFlag==true)
                    Application.application.unloadModule();
            private function handleUpdateStationDetailsFault(event:FaultEvent):void
                var errorMessage:ErrorMessage = event.message as ErrorMessage;
                Alert.show(errorMessage.rootCause.message);
            private function onSearch():void
                if(txtName.text=="" || txtName.text==null)
                    Alert.show("Enter a name for search");
                    return;
                if((txtName.text).length < 4)
                    Alert.show("Search should contain more than 3 alphabets");
                    return;
                var d:String = txtName.text;
                branch = CitizenApplication.initInfo.registeredUser.branchDetails.bdBranchNo;
                uniqueIdMasterUCFlexRO.readByCustomerName(d,branch);
                showLoading();
            private function handleReadByCustomerNameResult(event:ResultEvent):void                //In handle if record does not exists, dsiplays error message and resets the field
                customerDetails =ArrayCollection(event.result);
                PopUpManager.removePopUp(_progBar);
                if(customerDetails.length==0)
                    Alert.show("Record Not Found, Enter Proper Name ");
                    onReset();
            private function handleReadByCustomerNameFault(event:FaultEvent):void
                Alert.show(event.fault.faultDetail + " -- " + event.fault.faultString + "handleReadByCustomerNameFault");
            private function onReset():void
                customerDetails=new ArrayCollection();
                txtName.text="";
            private function onCancel():void
                utilityUCFlexRO.updateStationDetails("MM0001");
                moduleCloseFlag=true;
            private function btnBackClick():void
                view1.selectedIndex=0;
            private function btnBackClick1():void
                view1.selectedIndex=1;
            private function onItemClick( e:ListEvent ):void
                if(dgCustDetails.selectedItem == null)
                    Alert.show("Select Proper Record");
                else
                    lblId.text = e.itemRenderer.data.uimCustomerId;
                    lblName.text = e.itemRenderer.data.uimCustomerName;
                    var custId:int = Number(lblId.text);   
                    uniqueIdMasterUCFlexRO.getCustomerAcDetails(custId,branch);
                    showLoading();           
            private function handlegetCustomerAcDetailsResult(event:ResultEvent):void               
                //XMLDocument = event.result as XML;
                acDetails = new XMLList(event.result.menu);
                //Alert.show("Name: "+event.result.@name);
                PopUpManager.removePopUp(_progBar);
                view1.selectedIndex=1;
                //adg1.dataProvider=acDetails;
            private function handlegetCustomerAcDetailsFault(event:FaultEvent):void
                PopUpManager.removePopUp(_progBar);
                Alert.show(event.fault.faultDetail + " -- " + event.fault.faultString + "handlegetCustomerAcDetailsFault");
        ]]>
    </mx:Script>
    <mx:ViewStack height="688" width="856" id="view1">
        <mx:Canvas>
            <mx:Panel x="51" y="25" width="754" height="550" layout="absolute" title="Customer Search Page">
                <mx:HBox x="174" y="26" horizontalAlign="center" verticalAlign="middle">
                    <mx:Label text="Enter Name:"/>
                    <mx:TextInput id="txtName" width="228"/>
                    <mx:LinkButton label="Search" click="onSearch()"/>
                </mx:HBox>
                <mx:Label text="--" id="lblId" x="40" y="194"/>
                <mx:Label text="--" id="lblName" x="40" y="226"/>
                <mx:DataGrid dataProvider="{customerDetails}" id="dgCustDetails" allowMultipleSelection="false" editable="false"
                    showHeaders="true" draggableColumns="false" width="718" height="373" itemClick="onItemClick(event);" x="10" y="61">
                    <mx:columns>
                        <mx:DataGridColumn headerText="Customer Id" dataField="uimCustomerId" width="150"/>
                        <mx:DataGridColumn headerText="Customer Name" dataField="uimCustomerName"/>
                    </mx:columns>
                </mx:DataGrid>
                <mx:ControlBar>
                    <mx:Button label="CANCEL" click="onCancel()" width="80"/>
                    <mx:Button label="RESET" click="onReset()" width="80"/>
                </mx:ControlBar>
            </mx:Panel>
        </mx:Canvas>
        <mx:Canvas>
            <mx:TitleWindow x="10" y="10" width="836" height="421" layout="absolute">
                <mx:AdvancedDataGrid x="6.5" y="10" id="adg1" designViewDataType="tree" variableRowHeight="true" width="807" height="278" fontSize="14">
                    <mx:dataProvider>
                          <mx:HierarchicalData source="{acDetails}"/>
                    </mx:dataProvider>
                    <mx:groupedColumns>
                        <mx:AdvancedDataGridColumn headerText="Type Of A/c" dataField="@Name" width="150"/>
                        <mx:AdvancedDataGridColumn headerText="Details Of A/c"/>
                    </mx:groupedColumns>
                    <mx:rendererProviders>
                        <mx:AdvancedDataGridRendererProvider id="adgpr1" depth="2" columnIndex="1" renderer="AcDetails1" columnSpan="0"/>
                    </mx:rendererProviders>
                </mx:AdvancedDataGrid>
                <mx:ControlBar height="56" y="335">
                    <mx:Button label="BACK" width="80" click="btnBackClick()"/>
                    <mx:Spacer width="100%"/>
                    <mx:Button label="EXIT" click="onCancel()" width="80"/>
                </mx:ControlBar>
            </mx:TitleWindow>
        </mx:Canvas>
    </mx:ViewStack>
</mx:Module>
XML File Generated In JAVA:
<?xml version="1.0" encoding="UTF-8"?>
<menu>
<AcType Name="Savings">
<SavingAcDetails AcName="Mr. MELROY BENT" AccountNo="4" ClearBalance="744.18" ProductID="SB" TotalBalance="744.18">
<SavingMoreAcDetails AcStatus="OPERATIVE" AcType="NORMAL" FreezeCode="No Freeze" ModeOfOper="AnyOne Single Or Survivor"/>
</SavingAcDetails>
</AcType>
<AcType Name="TermDeposit">
<TDAcDetails AcName="Mr. BENT MELROY" AccountNo="1731" ProductID="TD">
<TDMoreAcDetails AcStatus="OPERATIVE" AcType="NORMAL" FreezeCode="No Freeze" ModeOfOper="Either or Survivor"/>
</TDAcDetails>
<TDAcDetails AcName="Mr. BENT MELROY" AccountNo="2287" ProductID="TD">
<TDMoreAcDetails AcStatus="NEW" AcType="NORMAL" FreezeCode="No Freeze" ModeOfOper="Self"/>
</TDAcDetails>
<TDAcDetails AcName="Mr. BENT MELROY" AccountNo="78" ProductID="TD">
<TDMoreAcDetails AcStatus="OPERATIVE" AcType="NORMAL" FreezeCode="No Freeze" ModeOfOper="Self"/>
</TDAcDetails>
</AcType>
</menu>
Tried Alot Of Examples Online But In Vain....
Need Help....
Thanks In Advance....

Please help me !!!! I have been stuck up with this issue for the past two days and I need to atleast figure out if this is possible or not in the first place.

Similar Messages

  • How to Populate Internal table data to Table Control in a Report Program

    Dear All,
           How to Populate Internal table data to Table Control in a Report Program? It is a pure report program with out any Module pool coding involved, which is just used to display data. Till now it is being displayed in a report. Now the user wants the data to be displayed in a table control. Could someone tell me how to go about with this.
    Thanks in Advance,
    Joseph Reddy

    If you want to use a table control, you will need to create a screen.
    In your report....
    start-of-selection.
    perform get_data.  " Get all your data here
    call screen 100. " Now present to the user.
    Double click on the "100" in your call screen statement.  This will forward navigate you to the screen.  If you have not created it yet, it will ask you if you want to create it, say yes.  Go into screen painter or layout of the screen.  Use the table control wizard to help you along the process.  It will write the code for you.  Since it is an output only table control, it will be really easy with not a lot of code. 
    A better way to present the data to the user would be to give it in a ALV grid.  If you want to go that way, it is a lot easier.  Here is a sample of the ALV function module.  You don't even have to create a screen.
    report zrich_0004
           no standard page heading.
    type-pools slis.
    data: fieldcat type slis_t_fieldcat_alv.
    data: begin of imara occurs 0,
          matnr type mara-matnr,
          maktx type makt-maktx,
          end of imara.
    * Selection Screen
    selection-screen begin of block b1 with frame title text-001 .
    select-options: s_matnr for imara-matnr .
    selection-screen end of block b1.
    start-of-selection.
      perform get_data.
      perform write_report.
    *  Get_Data
    form get_data.
      select  mara~matnr makt~maktx
                into corresponding fields of table imara
                  from mara
                   inner join makt
                     on mara~matnr = makt~matnr
                        where mara~matnr in s_matnr
                          and makt~spras = sy-langu.
    endform.
    *  WRITE_REPORT
    form write_report.
      perform build_field_catalog.
    * CALL ABAP LIST VIEWER (ALV)
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                it_fieldcat = fieldcat
           tables
                t_outtab    = imara.
    endform.
    * BUILD_FIELD_CATALOG
    form build_field_catalog.
      data: fc_tmp type slis_t_fieldcat_alv with header line.
      clear: fieldcat. refresh: fieldcat.
      clear: fc_tmp.
      fc_tmp-reptext_ddic    = 'Material Number'.
      fc_tmp-fieldname  = 'MATNR'.
      fc_tmp-tabname   = 'IMARA'.
      fc_tmp-outputlen  = '18'.
      fc_tmp-col_pos    = 2.
      append fc_tmp to fieldcat.
      clear: fc_tmp.
      fc_tmp-reptext_ddic    = 'Material'.
      fc_tmp-fieldname  = 'MAKTX'.
      fc_tmp-tabname   = 'IMARA'.
      fc_tmp-outputlen  = '40'.
      fc_tmp-col_pos    = 3.
      append fc_tmp to fieldcat.
    endform.
    Regards,
    Rich Heilman

  • Advanced data grid and grouping

    This is probably a basic questions, so hopefully someone will
    know the answer. I have an advanced data grid that works find a
    follows:
    <mx:AdvancedDataGrid id="adgReportList"
    horizontalCenter="0"
    y="28" width="485" height="500" dataProvider="{reports}">
    <mx:columns>
    <mx:AdvancedDataGridColumn headerText="Proposal Number"
    dataField="PROPOSAL_NUMBER"/>
    <mx:AdvancedDataGridColumn headerText="Report Title"
    dataField="REPORT_TITLE"/>
    <mx:AdvancedDataGridColumn headerText="Report Start Date"
    dataField="PERIOD_BEGINING"/>
    </mx:columns>
    </mx:AdvancedDataGrid>
    So the data coming back seems to be fine. But when I try to
    group the data as follows, nothing shows:
    <mx:AdvancedDataGrid id="adgReportList"
    horizontalCenter="0"
    y="28" width="485" height="500"
    initialize="gc.refresh();">
    <mx:dataProvider>
    <mx:GroupingCollection id="gc" source="{reports}">
    <mx:grouping>
    <mx:Grouping>
    <mx:GroupingField name="PROPOSAL_NUMBER" />
    </mx:Grouping>
    </mx:grouping>
    </mx:GroupingCollection>
    </mx:dataProvider>
    <mx:columns>
    <mx:AdvancedDataGridColumn headerText="Proposal Number"
    dataField="PROPOSAL_NUMBER"/>
    <mx:AdvancedDataGridColumn headerText="Report Title"
    dataField="REPORT_TITLE"/>
    <mx:AdvancedDataGridColumn headerText="Report Start Date"
    dataField="PERIOD_BEGINING"/>
    </mx:columns>
    </mx:AdvancedDataGrid>
    Thanks for any help.
    Jim

    "jim1234" <[email protected]> wrote in
    message
    news:g7eqkr$g6m$[email protected]..
    > Ok, I know what the problem is, I just don't know a good
    way to fix it.
    >
    > The problem is that the ArrayCollection that I use to
    populate the data
    > grid
    > does not have data until after the initialize event is
    fired. So I need
    > to
    > find out where/how to call the gc.refresh() method after
    the
    > ArrayCollection
    > has data.
    You're binding to it. Make sure it is bindable.

  • Advanced Data Grid in Action Script

    ok so I am now generating an AdvancedDataGrid in Action script as I will have dynamically created columns based on specific user
    My grid code looks like this
    private function generateGrid():void
    var clms:Array; 
    myADG.dataProvider=gridData;
    myADG.width=
    this.parentApplication.adgPanel.width-20;myADG.height=
    this.parentApplication.adgPanel.height-39;myADG.visible=
    true;myADG.x=0;
    myADG.y=0;
    myADG.designViewDataType=
    "flat";myADG.horizontalScrollPolicy=
    "on";myADG.verticalScrollPolicy=
    "on";myADG.lockedColumnCount=6;
    myADG.sortExpertMode=
    true;myADG.headerWordWrap=
    true;
    My question is this, in my MXML Grid that preceded this I hand this line
    click="{populateChildren(adg.selectedIndex)}"
    How do I add this functionality to my new AS Advanced Data Grid??
    populateChildren is a function that allows me to set the specific row as an object and share amongst other other modules based on the grid selection.
            private function populateChildren(loc:int):void
              selected = Object(gridData.getItemAt(loc));
              this.parentApplication.populateChart(selected);
    Thanks in advance for any help.

    The complete sample code contains 5 WebService calls that populate List collections views.
    Given these services are not exposed externally, I can't see how that would be more helpful it would actually cause more errors.
    But as usual with being new to Flex and AS I have found the root of the problem....ME     it's always something so silly and easily overlooked.
    myADG.addEventListener(MouseEvent.CLICK,populateChildren());
    should read:
    myADG.addEventListener(MouseEvent.CLICK,populateChildren);
    and for completeness my function needed to look like this
    private function populateChildren(e:Event): void
    selected = Object(gridData.getItemAt(myADG.selectedIndex));
     this.parentApplication.populateChart(selected);
    completely back to operational again.
    Thanks for taking the time to look into this a bit, sorry for the trouble, but at least I will recognize that error, I had never seen it up till now.
    Thanks again.

  • Advanced data grid and SummaryRow

    Hello,
    I've gotten the SummaryRow to work in AdvancedDataGrids in the past for performing certain functions like sum or average... but for this specific instance I want to do a summary row on non-numeric values (approved or rejected).
    For instance... lets say I have a GroupingCollection in the advanced data grid and I want to group by department (this is a 1 to many with dept having 1 or more employees). At that grouped level I want to show either "approved" or "rejected"... how can i show this next to the grouped department (not as another group below the department)? See my screenshot below of my output and how I could achieve this.

    "jim1234" <[email protected]> wrote in
    message
    news:g7eqkr$g6m$[email protected]..
    > Ok, I know what the problem is, I just don't know a good
    way to fix it.
    >
    > The problem is that the ArrayCollection that I use to
    populate the data
    > grid
    > does not have data until after the initialize event is
    fired. So I need
    > to
    > find out where/how to call the gc.refresh() method after
    the
    > ArrayCollection
    > has data.
    You're binding to it. Make sure it is bindable.

  • Column formatting based on grouping data value- advanced data grid

    Hello Everyone,
    I am using advanced data grid to display hierarchial data nested upto depth 4. I have to color the leaf nodes conditionally based on  the grouped column value.
    Say for Eg.,
    If the data is something like
    Company
         Manager
              Jim          $4000
              John        $3000
         Accountant
              Smith     $2000
              Sam       $3000
    I have to color Jim and John based on they being a manager. In other words, how do I get Manager and Company information for the leaf rows. The data is serial to start with and I am grouping it before displaying.
    Please let me know how this could be done.
    Thanks
    Arun

    Once htmldb.oracle.com is available again, you may have a look in my demo application:
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    In the tab section I, you will find several examples on pop-up pages. There this conditional
    displaying is included as well.
    Denes Kubicek

  • Ah! the delights of advanced data grid!

    I have a xml hierarchical advanced data grid.
    Is there a way to disable the folderIcons for the advanceddatagrid?
    Or is there a way to integrate the folderIcon actions to selected row actions?
    Right now, I have a listener for itemOpen. When one folder opens, then another one will close. However, when the user clicks on the folderIcon....it does not do this. I do not know how to access the expandeditem of the advanceddatagrid.
    Thank you for your help!
    Emma
    * Also, the fonts are being embedded by css...when you click on the folder...the fonts jump while they are being propagated. suggestions?

    That is a great idea...except I am using the selectRow to use these same events.
    It seems what I need is access to the same selectedItem.
    When I click on the row, I pass through _selectedItem from the event function.
    However, it is a little bit more complicated for the drop down buttons.
    I try to get the same format with this:
    selectedItem=IHierarchicalCollectionView(adg.dataProvider).openNodes;
    but I get an [object][object]
    I found this bit of code on a site:
    import mx.collections.HierarchicalCollectionView;
    myOpenNodes:Array = new Array(); 
    var HierColView:HierarchicalCollectionView = HierarchicalCollectionView(myADG.dataProvider);
    for each ( var item:Object in HierColView.openNodes ) {
    myOpenNodes.push(item);
    myADG.dataProvider.openNodes = myOpenNodes;

  • Advanced Data Grid Grouping per Level

    I'm new to flex, i'm using the advanced data grid component and i need to do different grouping for each level in the tree,i want to do right click and select which drill down is relevent for the specific level.
    how can i do it? the grouping seems to be for all the tree.

    I'm new to flex, i'm using the advanced data grid component and i need to do different grouping for each level in the tree,i want to do right click and select which drill down is relevent for the specific level.
    how can i do it? the grouping seems to be for all the tree.

  • Advanced Data Grid - Multi-Select

    Good Day,
    I am using an Advanced Data Grid to display data to the user.  The user needs to be able to select multiple rows, and not necessarily in order.  This is all fine, however, they don't want to have to hold the CTRL or SHIFT keys when selecting, and would like the mouse to act as a select/deselect for the row.
    I know that I will have to extend the ADG class to handle this, but I was hoping that someone else may have done this, or has some guidance.  I have never extended a class before, so I am not sure what all steps i will need to take.
    Thanks!
    Rob

    sortExpertMode property
    public var sortExpertMode:Boolean
    By default, the sortExpertMode property is set to false,
    which means you click in the header area of a column to sort the
    rows of the AdvancedDataGrid control by that column. You then click
    in the multiple column sort area of the header to sort by
    additional columns. If you set the sortExpertMode property to true,
    you use the Control key to select every column after the first
    column to perform sort.
    The default value is false.
    So, this property simply changes HOW you do multi-column
    sorting.
    I submitted an enhancement request:
    http://bugs.adobe.com/jira/browse/FLEXDMV-1429

  • Advance Data Grid - Flat Query Array Collection To Grouping Collection Issue

    Currently I have a Coldfusion CFC returning a flat query. The query is flat but returns data with four levels. For simplicity let's say Region, Territory, Title, and Person.
    I place the data into an Array Collection in Flex and then use the Advanced Data Grid (ADG) with a Grouping Collection to create a hierarchy of Region, Territory, Title. At the lowest level of the ADG I have the Person data and that data is summarized up to the Region node. The problem I am having is that sometimes I do not have any person data but have data at the Title level that can be summarized up to the Region node.
    For data where the Title does not have any Person information the Title node still can be expanded to show a blank Person row. How can I prevent blank Person rows from showing up while still maintaining the ability to properly show available Person rows?
    Would using an XML Collection accomplish this?

    Currently I have a Coldfusion CFC returning a flat query. The query is flat but returns data with four levels. For simplicity let's say Region, Territory, Title, and Person.
    I place the data into an Array Collection in Flex and then use the Advanced Data Grid (ADG) with a Grouping Collection to create a hierarchy of Region, Territory, Title. At the lowest level of the ADG I have the Person data and that data is summarized up to the Region node. The problem I am having is that sometimes I do not have any person data but have data at the Title level that can be summarized up to the Region node.
    For data where the Title does not have any Person information the Title node still can be expanded to show a blank Person row. How can I prevent blank Person rows from showing up while still maintaining the ability to properly show available Person rows?
    Would using an XML Collection accomplish this?

  • How to populate the Quering data into Excel sheet in Oracle

    Dear Guys,
    How to populate the Quering data into Excel sheet in oracle.
    Please provide a solution.
    Thanks & Regards,
    Senthil K Kumar

    Hi
    To make Excel sheets from sqlplus, you can use the markup html tag in sqlplus.
    Here's an example.
    Example
    <code>
    SET LINESIZE 4000
    SET VERIFY OFF
    SET FEEDBACK OFF
    SET PAGESIZE 999
    SET MARKUP HTML ON ENTMAP ON SPOOL ON PREFORMAT OFF
    SPOOL c:\test_xls.xls
    SELECT object_type
    , SUBSTR( object_name, 1, 30 ) object
    , created
    , last_ddl_time
    , status
    FROM user_objects
    ORDER BY 1, 2
    SPOOL OFF
    SET MARKUP HTML OFF ENTMAP OFF SPOOL OFF PREFORMAT ON
    SET LINESIZE 2000 VERIFY ON FEEDBACK ON
    </code>

  • Dumping data from an advanced data grid on the browser to microsoft Excel

    I am building an app which enables a user to define a sql
    query in a flex app on the browser. Once defined and the data
    retrieved, the result set is then displayed in an advanced data
    grid. The user then needs to be able to dump the data in the grid
    to an Excel spreadsheet.
    I'm wondering if anybody can point me to some possible
    solutions for the Excel data dump part of this problem? Everything
    else works.
    Flex help does have one solution, but I'm getting an error
    message that doesn't want to yield. I'd like to know if there are
    other possibilities?
    Thanks in advance. Jerry in Juneau, Alaska

    What version are you using? If in 9i, you can use external tables. Otherwise, you will need either SQL loader, or to use ODBC. If you send me an example of your data, I can create a sample of each for you.

  • Advanced Data Grid and Beta 3 Error:1502

    hi,
    When i upgraded from beta 2 to beta 3 .I get a error as
    follow:
    Error: Error #1502: A script has executed for longer than the
    default timeout period of 15 seconds.
    at mx.managers::CursorManager$/getInstance()
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2312]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2307]
    at mx.core::UIComponent/get
    cursorManager()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src;mx\core;UICompo nent.as:2306]
    at
    mx.controls::AdvancedDataGridBaseEx/mx.controls:AdvancedDataGridBaseEx::columnResizeMouse OverHandler()
    [C:\Work\flex\dmv_automation\projects\datavisualisation\src;mx\controls;AdvancedDataGridBa seEx.as:5970]
    at [mouseEvent]
    and my application hangs.Thanks in advance for all the
    help....

    hi Srinivas,
    Acually whenever i roll over the mouse on the column headers
    of the Advanced Data Grid it hangs and throw this error.i am
    getting a grouped data from data base and using the group
    collection as data provider which has source property bound to
    ArrayCollection.The problem comes only whenever we take the mouse
    over the column headers it throws this error and hangs.
    <mx:AdvancedDataGrid id="adg1" width="100%" height="100%"
    wordWrap="true" >
    <mx:dataProvider>
    <mx:GroupingCollection id="gc" source="{this.ABC}"
    ><!--ABC is ArrayCollection-->
    <mx:Grouping>
    <mx:GroupingField name="GroupingField"/>
    </mx:Grouping>
    </mx:GroupingCollection>
    </mx:dataProvider>
    <mx:columns>
    <mx:AdvancedDataGridColumn dataField="Field1"
    headerText="Field1" />
    <mx:AdvancedDataGridColumn dataField="Field2"
    headerText="Field2" sortable="true" />
    <mx:AdvancedDataGridColumn dataField="Field3"
    headerText="Field3" />
    </mx:columns>
    </mx:AdvancedDataGrid>
    If move the mouse over the column headers the error is thrown
    and the application hangs and the same code works fine with the
    beta 2.
    Thanks....

  • "advanced data grid"  with flex builder 3.0

    I'm getting watermark as "Flex Data Visualization
    Trial" when tried to use advances data grid with flex builder 3.0. There are some links floating on the internet where it's suggested that the license key should be provided in the flex-config.xml to avoid this issue. I would like to know if this componenet is stable with flex builder 3.0 and is it ok to use this in production environment?

    Someone from Adobe might be able to answer more definitely
    but it's probably just not considered compatible with a modified
    Eclipse (at least, the installer). It may just be the installer
    blowing up when it shouldn't. I think Adobe doesn't want to support
    install configurations that they don't have setup and tested. I had
    a similar issue once and solved it by doing the following... not
    sure if it'll work, and it's more of a last resort:
    Setup a regular eclipse install - install the plugin there.
    Somehow, you'll have to keep track of all the files it adds, either
    using timestamps or some compare software. It should be a bunch of
    files and/or folders in the '/plugins' directory, and possibly a
    few others in '/configuration', maybe '/features'. Take all the new
    folders and any jar files etc, and drop them into the same folders
    in your special Eclipse version. Hopefully when you start it up
    you'll get the Flex functions...
    Of course, you could end up hosing your entire "NWDS"
    (whatever this is) install. So you probably want to test it out
    first!

  • Advanced Data Grid Sorting / Grouping Collection

    Ok, basically here's the issue..
    I have an advanced data grid with a tree view. It goes two
    levels deep
    so:
    Report Type
    |-------------------- Company
    |--------------------------------------- Report 1
    |--------------------------------------- Report 2
    |--------------------------------------- Report 3
    |-------------------- Company 2
    |--------------------------------------- Report 1
    |--------------------------------------- Report 2
    |--------------------------------------- Report 3
    Report Type 2
    |-------------------- Company
    |--------------------------------------- Report 1
    |--------------------------------------- Report 2
    |--------------------------------------- Report 3
    |-------------------- Company 2
    |--------------------------------------- Report 1
    |--------------------------------------- Report 2
    |--------------------------------------- Report 3
    etc..
    Report and Company are Nodes (folders) and are being sorted
    alphabetically by default.
    The individual reports (Report 1,2,3, etc..) are not being
    sorted in any way that I can figure out. I need to sort them by
    date, but no matter what I've tried I can't get it to work.
    I tried a SortCompareFunction on the advancedDataGridColumn
    that displays each report, and it works *IF* I click the header...
    but if I dispatch the header_release event via AS3, nothing
    happens.
    I even set up a test:
    dg.addEventListener(AdvancedDataGridEvent.HEADER_RELEASE,heard);
    dg.dispatchEvent(
    new AdvancedDataGridEvent
    AdvancedDataGridEvent.HEADER_RELEASE,
    false,
    true,
    0, // The zero-based index of the column to sort in the
    DataGrid object's columns array.
    null,
    0,
    null,
    null,
    0
    function heard(e:Event) {
    trace("I HEAR IT!");
    trace(e.type);
    I set that up on a button so I can dispatch the event with a
    click. Every time I click the button, the header release event
    listener goes off, but the actual advanceddatagrid remains
    unchanged until I actually click on it's header..
    Any help would be *GREATLY* appreciated... I've been stuck on
    this problem for two days now :(

    "AnakinJay" <[email protected]> wrote in
    message
    news:[email protected]...
    > Ok, basically here's the issue..
    >
    > I have an advanced data grid with a tree view. It goes
    two levels deep
    > so:
    > Report Type
    > |-------------------- Company
    > |--------------------------------------- Report 1
    > |--------------------------------------- Report 2
    > |--------------------------------------- Report 3
    > |-------------------- Company 2
    > |--------------------------------------- Report 1
    > |--------------------------------------- Report 2
    > |--------------------------------------- Report 3
    >
    > Report Type 2
    > |-------------------- Company
    > |--------------------------------------- Report 1
    > |--------------------------------------- Report 2
    > |--------------------------------------- Report 3
    > |-------------------- Company 2
    > |--------------------------------------- Report 1
    > |--------------------------------------- Report 2
    > |--------------------------------------- Report 3
    > etc..
    >
    > Report and Company are Nodes (folders) and are being
    sorted alphabetically
    > by
    > default.
    > The individual reports (Report 1,2,3, etc..) are not
    being sorted in any
    > way
    > that I can figure out. I need to sort them by date, but
    no matter what
    > I've
    > tried I can't get it to work.
    >
    > I tried a SortCompareFunction on the
    advancedDataGridColumn that displays
    > each
    > report, and it works *IF* I click the header... but if I
    dispatch the
    > header_release event via AS3, nothing happens.
    >
    > I even set up a test:
    >
    dg.addEventListener(AdvancedDataGridEvent.HEADER_RELEASE,heard);
    >
    > dg.dispatchEvent(
    >
    > new AdvancedDataGridEvent
    > (
    > AdvancedDataGridEvent.HEADER_RELEASE,
    > false,
    > true,
    > 0, // The zero-based index of the column to sort in the
    DataGrid object's
    > columns array.
    > null,
    > 0,
    > null,
    > null,
    > 0
    > )
    >
    > );
    >
    > function heard(e:Event) {
    >
    > trace("I HEAR IT!");
    > trace(e.type);
    >
    > }
    >
    >
    > I set that up on a button so I can dispatch the event
    with a click. Every
    > time I click the button, the header release event
    listener goes off, but
    > the
    > actual advanceddatagrid remains unchanged until I
    actually click on it's
    > header..
    >
    > Any help would be *GREATLY* appreciated... I've been
    stuck on this problem
    > for
    > two days now :(
    Check the compareFunctions here
    http://flexdiary.blogspot.com/2008/09/groupingcollection-example-featuring.html

Maybe you are looking for

  • Error while activating DataStore Object

    Hi Experts, I am using standard DataStore Object(0FIGL_O02), but while scheduling the laod for it its giving me error: "DataStore 0FIGL_O02 built incorrectly; cannot update request REQU_432B1OBKPHR2X8JKALGN0UZLE(617)" My DataStore Object is active, b

  • How can I change my Skype email notifications to E...

    My email notifications from Skype are received in Spanish, apparently because I live in a Spanish-speaking country (Panama).  Since I do not speak nor read Spanish, it would be greatly appreciated if these notifications could instead come in English.

  • Converting a PDF to Excel

    I just paid for a subscription so I could convert PDF files to Excel. The first file I tried to convert (an Excel file that was converted to PDF) came out a jumbled mess. Help!

  • Indesign CS 4 assignment panel not available on mac

    Using indesign CS4. Assignment panel under window menu is not available. Any help will be appraciated

  • On Yahoo Mail, the "insert link" function stopped working

    For the past few months, the "insert link" function doesn't work properly when trying to insert a link into a message. It inserts the link in the wrong place. For example if i paste the following text into a message: Regards, Jeff http://mywebsite.co