Its near impossible to get a Advanced datagrid to remember its opened nodes when it has fresh data

Theres a post in
http://www.mail-archive.com/[email protected]/msg85521.html//www.mail-archive.com/[email protected]/msg85521.html
which is basically saying its near impossible to get a Advanced datagrid to remember its opened nodes when it has fresh data
I'm having pretty much the same problem (exept I'm not filtering just getting the latest data from the server)as this guy and have been searching for a solution, heres what he said:
Sun, 02 Mar 2008 08:07:46 -0800
Hello guys,
I'm trying to filter my ADG without success :
I created a GroupingCollection from a flat ArrayCollection.
ADG's dataProvider is GroupingCollection.
First issue : refresh
if I filter the underlaying ArrayCollection, the related
groupingCollection doesn't refresh automatically (bug? feature?)
Actually I menaged to force gc.refresh() with some event( it is
impossible to listen on CollectionEventKind.REFRESH because of
infinite loop ac.refresh => gc.refresh )
Second issue (more important) : openNodes
Ok now that my gc is refreshed, the Tree in the ADG collapses itself
(ok let say that is normal), and I need it to expand all nodes that
were opened before.
I tried to do something like this :
var openNodes : Object = IHierarchicalCollectionView(
myADG.dataProvider ).openNodes;
gc.refresh();
myADG.dataProvider.openNodes = openNodes;
and it doesn't works.
next I tried this :
var openNodes : Object = IHierarchicalCollectionView(
myADG.dataProvider ).openNodes;
for each( var node : Object in openNodes )
IHierarchicalCollectionView( myADG.dataProvider.openNode( node )
guess what, doesn't work
I'm calling myADG.invalidateList() each time too.
I don't know what to do to achieve this simple task, I'm a bit
disappointed because I expected lot more from the brand new
AdvancedDataGrid and this basic functionality actually seems too hard
to implement.
I still hope I'm wrong and someone can show me the correct solution
Thank you all,
Adnan

Hi,
I remember the days when Oracle would practically give Oracle Financial s away just for the implementation consulting fees.
Yeah, IBM used to give-away DB2 also . . . .
Oracle Financial s away just for the implementation consulting fees. Yeah, but any ERP requires massive set-up costs. I once worked on an SAP effort that cost over $20,000,000.
complete with Microsoft head to headIn what? Oracle is far-and-away the world's most robust and flexible database, hundreds of times more powerful that SQL Server.
IMHO, it's like apples-to-oranges . . . .
Everyone is running SQL server Here, DICE shows over a hundred Oracle openings in the Boston area, that might help you:
http://seeker.dice.com/jobsearch/servlet/JobSearch?op=300&rel_code=1102&N=0&Hf=0&NUM_PER_PAGE=30&Ntk=JobSearchRanking&Ntx=mode+matchall&AREA_CODES=&AC_COUNTRY=1525&QUICK=1&ZIPCODE=&RADIUS=64.37376&ZC_COUNTRY=0&COUNTRY=1525&STAT_PROV=0&METRO_AREA=33.78715899%2C-84.39164034&TRAVEL=0&TAXTERM=0&SORTSPEC=0&FRMT=0&DAYSBACK=30&LOCATION_OPTION=2&FREE_TEXT=oracle&WHERE=Boston+MA&WHEREList=Boston+MA&SEARCH.x=0&SEARCH.y=0
Excel is the tool of choice for accountants and its integration withcubes is nothing short of stunning
Sorry, I must disagree! Yes, CPA's will download Oracle data into spreadsheets for analysis, but Excel is wanting, especially for hypothesis testing, correlational analysis and data mining. Oracle's ODM, however, is truly stunning, light-years ahead of PC-based tools:
http://www.rampant-books.com/book_2006_1_oracle_data_mining.htm
Larry make Oracle great again be cutting the costI cannot speak for Oracle Corporation, but Oracle XE is FREE, totally and completely free. Add-in Apex for free, and it's very competitive.
Hope this helps. . .
Don Burleson
Oracle Press author
Author of “Oracle Tuning: The Definitive Reference”
http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

Similar Messages

  • I can no longer open firefox. I get a message that it is already open but when I try to force quit the app it is not there.

    I am running IMacs with an OS10.6x operating system. This problem has occurred on several of my machines now. I can still open firefox from alternate profiles on the same machine, but the student profile will give me the message that it is already open and can only have one instance running at a time.

    Make sure that the profile that Firefox wants to use and that is specified in profiles.ini still exists. If that profile isn't found then you get that same error message.
    See:
    * http://kb.mozillazine.org/Recovering_a_missing_profile
    * http://kb.mozillazine.org/Profile_in_use

  • How do I get my animation to not have a black background when it has a white background?

    When I export my animation with a white background it shows that it has a black background in Premier Elements.

    I am not sure how the relationship between Flash and Premiere works, but if it is anything like putting a Flash file in another Flash file then the loaded Flash file will not have a background.  What you should try doing is to draw a white rectangle on the bottom-most layer of the Flash file timeline that covers the whole stage.

  • How to get label of Parent level nodes, when itemOpen() event of any node in AdvancedDataGrid in Flex?

    Hi all,
              This is the code, to get the label of every one parent level nodes, when we open the parent node item in AdvancedDataGrid in Flex.
    <?xml version="1.0"?><!-- dpcontrols/adg/SimpleGroupADGMXML.mxml --><mx:Application
    xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert; 
    import mx.events.AdvancedDataGridEvent; 
    import mx.collections.ArrayCollection; [
    Bindable] 
    private var groupData:ArrayCollection = new ArrayCollection([{Computer:
    "HardWare Devices", Device:"Keyboard", Company:
    "Logitech", PriceInRupees:"500"}, {Computer:
    "HardWare Devices", Device:"Keyboard", Company:
    "Microsoft", PriceInRupees:"500"},{Computer:
    "HardWare Devices", Device:"Mouse", Company:
    "Logitech", PriceInRupees:"300"},{Computer:
    "HardWare Devices", Device:"Mouse", Company:
    "Microsoft", PriceInRupees:"300"},{Computer:
    "HardWare Devices", Device:"Monitor", Company:
    "LG", PriceInRupees:"5000"},{Computer:
    "HardWare Devices", Device:"Monitor", Company:
    "Microsoft", PriceInRupees:"5000"}]);
    //This method is used to get label of every parent lavel nodes, when we open any item 
    private function getLabel(e:AdvancedDataGridEvent):void{
    Alert.show(e.item[
    "GroupLabel"]);}
    ]]>
    </mx:Script>
    <mx:Label text="NOTE : Open the every parent level nodes here. We can get the label of every one parent level nodes."color="
    blue" fontWeight="bold"/>
    <mx:AdvancedDataGrid id="groupADG" width="
    100%" height="437" initialize="gc.refresh();" itemOpen="getLabel(event)"
    >  
    <mx:dataProvider>
    <mx:GroupingCollection id="gc" source="{groupData}">
    <mx:grouping>
    <mx:Grouping>
    <mx:GroupingField name="Computer"/>
    <mx:GroupingField name="Device"/>
    </mx:Grouping>
    </mx:grouping>
    </mx:GroupingCollection>
    </mx:dataProvider>  
    <mx:columns>  
    <mx:AdvancedDataGridColumn headerText="
    Computer"/>
    <mx:AdvancedDataGridColumn dataField="Company"headerText="
    Company"/>
    <mx:AdvancedDataGridColumn dataField="PriceInRupees" headerText="PriceInRupees"/>
    </mx:columns>
    </mx:AdvancedDataGrid>

    Dialog\ResponseTime 6585
    "The dialog response time consists of the period of time from the request of the dialog to the dispatcher through the processing, to the ending of the dialog in the dispatcher and the transfer of the data to the presentation layer"
    This is not buffered as far as I know is measured on demand
    Read,
    http://help.sap.com/saphelp_nw70/helpdata/en/31/d7843b43c8e937e10000000a11402f/content.htm
    Regards
    Juan

  • Getting Error When I click on Data -- Load XML Data (XMLP Desktop 5.6.2)

    Hi All,
    I'm getting an error "Compile error in hidden module: Module_registry" when i click on Data -->Load XML Data on MSword. I have installed XMLP Desktop 5.6.2 successfuly. Can anybody help me..?
    Regards,
    Aanta

    Can you check the eventviewer on your desktop if there is an error logged against any DLL in application log (Start -- Run -- eventvwr) each time you hit this error. Also is this the first time you installed XMLP Desktop or did you have an older version?

  • Get an item at a particluar position in Advanced Datagrid

    I want to access some property of an item lying at nth position in an advanced datagrid. I was not able to find any method which can return me this result. getChildAt method returns display objects of the adv DG and not the items in it. Also numChildren poperty returns number of display objects and not the number of rows.

    You MUST get it from the dataProvider.  That is the only place the data exists.  You can use the DataGrid events to return the row and column indexes into the dataProvider item.
    Or you can get a reference to the renderer, and then get to the dataprovider item through the data property. Or through your own property if it is a custom renderer.
    But one way or another, you must get to the dataProvider item.
    I do not recall the syntax, look into the dataGrid events in the docs.
    Tracy

  • I keep getting the "Something went wrong" message on my Droid Razr HD also. I looked in my Settings, and I don't have a Cloud app - I have a Cloud Print app with nothing cached.  This is making it nearly impossible to use the phone - please help!  So far,

    I keep getting the "Something went wrong" message on my Droid Razr HD also. I looked in my Settings, and I don't have a Cloud app - I have a Cloud Print app with nothing cached.  This is making it nearly impossible to use the phone - please help!  So far, this website has only made things more difficult.

    The details you're providing are very helpful, Maj_Dad. With airplane mode enabled,
    there would be no message because that disables celluar data. I would recommend
    tying that mode with WiFi to see if it still happens. It sounds like this issue
    has something to do with one of the applications on the device.
    JoeL_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • SortcompareFunction is not working properly for more than 1 column in advanced datagrid

    Hi Guys,
    I am using an advanced datagrid with groupingCollection.
    I have more than 1 grouped column. How ever I am using 2 sort compare function to sort date and time.
    The problem is when I am trying to sort date its workinf properly then when I jump to time column its not working and sorting few rows only inside the  column but not the entire column. samething happen when I sort time first and the date is not sorting.
    any help will be really appriciable .
    Thanks in advance.

    In our application we tend to use views to return appropriate values for a particular user.
    For example (we do building inspections) the publication item sql is like
    select * from inspection_sites where id in (select site_id from v_pda_bi_sites where bi_id=:bi_id)
    The view acts like a dynamic parameter table (in this cases looks at experience level, status of sites, and responsibility allocations). Once the driving views are tuned this works quite efficiently, and as the dependant tables for the publication item automatically includes all of the tables in the driving view, the object gets refreshed if there is any change to any of them, even if the site details themselves have not changed

  • Drag and Drop in DataGrid/Advanced DataGrid

    Hi All,
    Here is the scenario, assume that i have some 10 records in
    DataGrid/Advanced DataGrid .I have selected 4th record and when i
    try to drag the selected item to
    down, i should be able to drag all the records one step down
    from the selected record( from 4 th record to 10th record)
    i.e, re-arranging the items
    If i drag the selected item(assume that some 6th record) to
    top, say to 2nd row then from the second row all the rows
    has to come down.
    And How do we
    add the rows at middle and at the specified position?
    Any help will be appricated and Thanks in Advance.

    Hi All,
    myself got the solution for re-arranging the datagrid items
    by using the pre-defined properties of DataGrid.
    I can also get the index number of Items while start dragging
    but the problem is how do i get the index number where the Items
    dropped.
    Here is the code..............
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="horizontal">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.collections.ArrayCollection;
    [Bindable]
    private var datagridData:ArrayCollection = new
    ArrayCollection([
    {task:"testing drag and
    drop",category:"Office",priority:"Medium"},
    {task:"testing datagrid
    DND",category:"personal",priority:"High"},
    {task:"testing services for
    todo",category:"office",priority:"Medium"},
    {task:"meet ravi on
    sunday",category:"personal",priority:"Low"},
    {task:"buy a book",category:"friends",priority:"Medium"},
    {task:"play cricket",category:"friends",priority:"Low"}]);
    private function onDragStart():void
    Alert.show("selected Indices"+dataGrid.selectedIndices);
    private function onDragComplete():void
    Alert.show("selected Indices"+dataGrid.selectedIndices);
    ]]>
    </mx:Script>
    <mx:DataGrid id="dataGrid" dataProvider="{datagridData}"
    dragEnabled="true" dragMoveEnabled="true"
    dropEnabled="true" allowDragSelection="true"
    allowMultipleSelection="true" rowCount="10"
    dragStart="onDragStart()"
    dragComplete="onDragComplete()">
    <!--dragStart="onDragStart()"-->
    <mx:columns>
    <mx:DataGridColumn dataField="task" headerText="Task"
    width="200"/>
    <mx:DataGridColumn dataField="category"
    headerText="Category"/>
    <mx:DataGridColumn dataField="priority"
    headerText="Priority"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>

  • Grouping of Data in Advanced Datagrid

    Hii,
    I need to group the data in advanced datagrid. I used the Grouping collection class, but it it not working.
    My advanced datagrid has column groups...so will this have any impact on grouping.
    Thanks!!
    Vikas

    Assuming that the table (say WALK_IN_PER_LOG) that you have has atleast the following two columns
    walk_in_date DATE -- holds date time stamp
    dob DATE -- holds date of birth
    SELECT TO_CHAR(walk_in_date,'WW')&#0124; &#0124;'-'&#0124; &#0124;TO_CHAR(walk_in_date,'DAY') "Week#-Day"
    ,TO_CHAR(TRUNC(TO_CHAR(walk_in_date,'HH24')/02),'09')&#0124; &#0124;'-'&#0124; &#0124;
    TO_CHAR(TRUNC(TO_CHAR(walk_in_date,'HH24')/02)+2,'09')
    ,COUNT(*)
    FROM walk_in_per_log
    WHERE MONTHS_BETWEEN(SYSDATE,dob) > 18*12
    GROUP BY TO_CHAR(walk_in_date,'WW')&#0124; &#0124;'-'&#0124; &#0124;TO_CHAR(walk_in_date,'DAY')
    ,TO_CHAR(TRUNC(TO_CHAR(walk_in_date,'HH24')/02),'09')&#0124; &#0124;'-'&#0124; &#0124;
    TO_CHAR(TRUNC(TO_CHAR(walk_in_date,'HH24')/02)+2,'09')
    PS I might have complicated the query a little in trying to get the formatting as you had requested but the principle is simple
    First group by the day, so that all events of one day can be compared together, then extract the hour portion of each of those dates and divide by 2 and use the quotient of the division as a grouping factor.
    eg
    from hours
    00-02 the quotient is 0 (2 is taken as 1:59:59)
    02-04 the quotient is 1 (4 is taken as 3:59:59)
    and so on
    hope this helps....

  • PLEASE HELP!! Need some way to read header text in advanced datagrid using QTP

    I am writing a function to read column names in advanced data
    grid. There is no operation for that and any of the properties that
    I can use to read the column names.
    Please suggest any way that I can get the names of columns in
    the advanced data grid.
    Thanks

    I hope to hear something from adobe folks...I am providing
    more info.....
    I am using QTP 9.2 and Flex 3 add-in available from Adobe.
    My application has flex Advanced datagrid object and I am
    trying to read column names for the datagrid.
    I have contacted developers and they told me that column
    names for flex advanced datagrid are stored in "Header Text"
    I have tried reading "Header Text" using
    GetROProperty("HeaderText") but it doesn't return anything.
    I have tried the following code:
    x =
    Browser("app").FlexApplication("flexapp").FlexCanvas("Canvas").FlexAdvancedDatagrid("esti mategridid").GetROProperty("Header
    Text")
    msgbox x
    I have also tried getting value for column names using other
    available properties for webtables like outerhtml, outertext, alt
    etc. but I don't get any data.
    Part of the problem may be because none of the above
    mentioned properties are supported by Flex Advanced datagrid.
    I have also tried getting child objects but I always get the
    data in datagrid as values but not the column names.
    My primary reason for getting column names is to write a
    function to update cell in datagrid independent of application. So,
    I want to pass column name as a parameter to the function and get
    the corresponding columnIndex in the function by comparing the
    parameter value against column names.
    Thanks to all for you help...

  • HP QTP10 cannot read Automation values of Advanced DataGrid

    Hi everyone,
    We're an Automation functional testing team, testing a flex application with HP QTP v10. So far we've successfully automated many parts of the application. Now, we're struck at a serious issue.
    The issue is QTP cannot read automation values specified for an Advanced Datagrid (ADG).
    While trying to read row data of the ADG, the automation name of QTP shows like,
    "lblData | someGroup |  | ** |  |  |  |  |  |  |  |  |  | lblData"
    The screenshot of Object Spy while spying ADG is also attached.
    Other than the Automation Index, we are not able to populate any automation values of a row data.
    The ADG is a custom one. Our development team has customized it in some way, and we dont have access to the code. They are using an External renderer or Custom renderer to render values into the column.
    As there is no possiblity for value-based recording, we tried to access the ADG with index-based recording. Then, we 're able to perform operations like Click, but cannot read contents of the row/cell.
    We're using:
    HP Quick TestProfessional v10.0
    Flex plugin 4.5
    Internet Explorer 7
    Flash Player v10
    Our Questions are:
    How to get automation values for these custom ADG?
    Is there any other possible ways to access the custom ADG components other than these automation values?
    Do we need any patches/plugin upgradation to perform this?
    Is there any other tools in market that can recognize and access these custom ADGs?
    Without these automation values we're unable to proceed further work. Any replies/comments/help are welcome.
    Thank you!

    A sortCompareFunction would look something like:
    Function sortWithNullAtEnd(a:Object, b:Object, field:Array = null):int
        if (a.fieldName == null && b.fieldName == null) return 0;
        if (a.fieldName == null) return 1;
        if (b.fieldName == null) return –1;
        if (a.fieldName < b.fieldName)
            return –1;
        if (a.fieldName > b.fieldName)
            return 1;
        return 0;
    Note that this sort would be unstable so you might be better off using a second field to get stability.

  • (Advanced)DataGrid with selectable columns

    Hello -
    I'm trying to make a Flex (Advanced)DataGrid component with some mechanism where the user can toggle the visibility of the columns.  I've crudely implemented this by reading in the columns into the right-click menu, and when a column name is selected here, the visibility is toggled.  It works, but it's not the most elegant solution.
    Specifically, I'm trying to emulate the "datagrid" that Mozilla Thunderbird uses to display emails.  Here is an image:
    In the upper right, there is an icon over the scroll bar.  If there is no scrollbar, the icon remains in the same place.  When clicking the icon, it opens up a menu that shows all the possible columns, with the visible ones having a check mark next to them, like this:
    Also, the scroll bar always appears under this button, never "pushing" it over into it's own column.
    I'd like to re-create this in Flex.  I believe the menu part and creating a column with a button headerRendered is easy enough.  But I can't figure out how (if at all possible) to do this with the scrollbar, because the scrollbar always seems to be "its own column".  Any ideas or help would be appreciated.  Thank you.
      - Ian

    This blog post seems to answer your question:
    http://blog.flexgeek.in/2007/06/tips-tricks-adding-a-combobox-to-a-datagrid-header-as-head errenderer/
    http://omalraj.com/2009/06/flex-datagrid-header-with-a-combobox-filter/
    http://franto.com/custom-header-in-datagrid-part-2/
    http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html
    If this post answers your question or helps, please mark it as such. Thanks!
    http://www.stardustsystems.com
    Adobe Flex Development and Support Services

  • Tree structure in advanced datagrid

    Hi
    I'm using advanced datagrid to mainly display heirarchical data.
    There are five columns in my datagrid and name column is heirarchical one.
    Problem I am facing is tree symbols are getting displayed in some other columns. Please help.

    Hi PAgrawal,
    Advanced DG has treeColumn property that you can assign to your name column
    This will display tree icons on required column
    Thanks and Best regards,
    Abhishek
    Abhishek Chaudhary | [email protected]
    Off: +91 712 224 5867 Ext:8358 ,  Mob: +91 992 358 8703

  • Pagination in Advanced Datagrid ..

    I need to use pagination for Flex advanced datagrid...how should i get the length of the groupingcollection for calculating my page size....
    For the Flex datagrid i have it working as I have the length of dataprovider which will be my page size....
    Any ideas...or can anyone post an example of advanced datagrid with pagination...Will be of great help...
    Thanks

    have a look @ this http://www.adobe.com/devnet/flex/articles/flashbuilder4_datapaging_php.html

Maybe you are looking for

  • Printing Latin-2 on Zebra ZM400

    hi, i don´t know if this is the correct category but we have problems printing latin-2 characters (polish) on one of our Zebra printers. Here´s the situation: - we have a Zebra ZM400 printer and want to print polish characters. - "Swis721BT" font is

  • Change Management in Implementation project

    Hi all, Have any one used change request management in implementaion project?How to transport tp's in that?is it the same way as we do in maintenance project?How the transport request will be tracked? Thanks in advance, Avinash.

  • Best audio quality

    I'm an old Digital Performer/Motu/oiV user. I have a bunch of old stereo audio tracks on DAT & cassette I want to archive by loading into Garageband to make sound files from to put into iTunes and make into CD's. What is the best quality audio input

  • Skipping parts of song

    I have recenlty downloaded a few songs and at least three of them maybe more are corrupted. After a certain amount of time (some after 7 seconds some after a minute and a half or so) the song stops and goes on to the next. iTunes shows that it playe

  • Running a Sequence

    Hello, I'm wondering if there is a way to run a sequence that is triggered by a boolean or a comparison function.  Let's say you have an analog signal input that reads pressure sensor, and say you want a pump to turn on for 30 secs when the pressure