Heavy filtering and creation of sums in a grid?

hi,
i would like to create a very interactive analysis and would be grateful if someone would push me in the right direction to go as i am very new to flex. (though not new to programming generally).
How it should work:
i have a small php-script which will output the complete list of entries as XML.
putting that in a grid is easy
i need sumcolumns (not rows!) and some additional calculations (nothing fancy, just some multiplying of the sum of two columns with a value)
now i want to give the user a list of the columns of that list. if he clicks on entries only the selected columns and the sumcolumn remain and the query is "grouped by" those columns.
now i could easily do that by asking for the resulting list from the server every time. but of course that's not what i expect to do in an ajax-application. If i understood correctly i won't be able to filter and group easily in the xml-list itself, so i would have to put it in an ArrayCollection? will that enable me to add and calculate the additional columns and do a group-by-summing?
It doesn't seem to be powerful enough for that. is there something better? or do i ask the server everytime?

I would create a bindable ValueObject, and in the result handler, loop over the xmllist and build an arraycollection of VOs.  The VO would have proerties and methods for any calculated columns, which could be calculated when created or on demand depending.  This would let your sort and group on the calculated columns.  You can use a labelFunction for display, but still get valid sorting on the underlying data.
Also, look into HierarchicalData and the AdvancedDataGrid.
Tracy Spratt

Similar Messages

  • I want to use my Time Capsule as a central 'hub/hard-drive' in order to keep all my working files in one place. I then plan to use my laptops/desktops as peripheral devices for editing and creation of these files. Is it possible? Create a personal cloud?

    I want to use my Time Capsule as a central 'hub/hard-drive' in order to keep all my working files in one place. I then plan to use my laptops/desktops as peripheral devices for editing and creation of these files. Is it possible? To create a personal cloud?
    Can someone advise as to whether i can do the following:
                                Future Internet connection -------------------TIME CAPSULE (containing all files) -------------- Backed up on the WD 2T Hard-drive I have
                                      (not connected yet)                                         I                                                          (*connected to timecapsule physically)
                                                                                                            I
                    I                                         I                                                I                                                              I                                                I
          Macbook Pro                             iMac                                       HP (PC)                                             OLD Macbook Pro                         iPhone
    (used for remote working)       (Used for home working)     (used for heavy CAD and rendering)    (not being used for anything at the moment)        (& iPods)
    I am looking to have all my files in one place as i am hopelessly disorganised. I know the online clouds are a good solution (used Dropbox at work and uni for 3 years) however i am wanting to create my own 'dropbox/icloud' at home. So whenever i get back home with my laptop, any work i have been working on whilst out that day is updated to the timecapsule, and then ultimately as i turn on the other devices, they update to those newer versions of the files. Please tell me that the 3TB time capsule i have can do this, otherwise it feels rather overpriced as a wireless storage device?
    Another note (to those in the know) If i am to be working on large files (REVIT/SOLIDWORKS/KEYSHOT/CREO/AUTOCAD) - is the timecapsule connection good enough to support editing and updating these files?
    I know i may be asking a question that many have before, but as a bit of a technical novice I wanted a clear-cut answer to my specific circumstances. Your help is greatly appreciated.
    (*can i use this WD hard-drive that is connected to the Time Capsule as a back up? so that the time machine back-ups/any back ups are also backed up onto this one? can the WD be a backup for the TC?)
    Kind Regards
    Joe

    The diagram was supposed to look more like this......
    Internet ---------TIME CAPSULE(containing all files) --------WD 2T Harddrive
                                                I
         I                           I                          I                            I                                   I
    Macbook Pro         iMac                 HP (PC)            OLD Macbook Pro           iPhone
    Sorry!
    Regards
    Joe

  • IIR Filtering and response .vi: Butterwort​h filter magnitude response depends on sampling rate -why?

    Hi folks,
    I am not expert in filter design, only someone applying them, so please can someone help me with an explanation?
    I need to filter very low-frequent signals using a buttherwoth filter 2. or 3. order as bandpass 0.1 to 10 Hz .
    Very relevant amplitudes are BELOW 1 Hz, often below 0.5 Hz but there will be as well relevant amplitudes above 5 Hz to be observed.
    This is fixed and prescribed for the application.
    However, the sampling rate of the measurement system is not prescribed. It may be between say between 30 and 2000 Hz. This will depend on whether the same data set is used for analysing higher frequencies up to 1000 Hz of the same measurement or this is not done by the user and he chooses a lower sampling rate to reduce the file sizes, especially when measuring for longer periods of several weeks.
    To compare the 2nd and 3rd order's magnitude response of the filter I used the example IIR Filtering and response .vi:
    I was very astonished when I the found that the magnitude response is significantly influenced by the SAMPLING RATE I tell the signal generator in this example vi.
    Can you please tell me why - and especially why the 3rd order filter will be worse for the low frequency parts below 1 Hz of the signal. I was told by people experienced with filters that the 3rd oder will distort less the amplitudes which is not at all true for my relevant frequencies below 1 Hz.  
    In the attached png you see 4 screenshots for 2 or 3 order and sampling rate 300 or 1000 Hz to show you the varying magnitude responses without opening labview.
    THANK YOU for your ANSWERS!!!
    chris
    Solved!
    Go to Solution.
    Attachments:
    butterworth-filter-differences.png ‏285 KB

    Hello Lynn,
    thanks for the answer. You are right that there are few points "behind" the curve in the graph, see png.
    However, this is the filter response which Labview (2009) provides to me directly out of the "IIR Filter for 1 Channel. vi" in the "filter information" output cluster. Where up to now I do not know how to influence it - apart from adjusting the input parameters "IIR filter specifications". OK, I assume I have to gain more knowledge of this. The curve of the magnitude resonse dies not change when I change the number of samples of the input signal of the signal generator, only wehn I change the sampling rate.
    I used directly the example vi from Labview with the name indicated in my first post "IIR Filtering and Response.vi".
    So I assumed that everybody has it in his/her examples shipped with LV and it is not necessary to post it.
    I just adjusted the size of the diagram of magnitude response to see the curves better as you see in the attached vi.
    So I did no changes to the vital parts of signal generation and filter of the example. The screenshots are like they come from the example when using the option "one waveform" where I as user assume that this which is behind is quality-controlled by NI.
    I was also astonished that the filter magnitude response is different to the one I copied out of graphs 1 year ago - but I unfortunately cannot reconstruct which example I used there...
    Thanks for any further comments
    chris
    Attachments:
    IIR Filtering and Response_CH.vi ‏55 KB
    butterworth2nd_order_bandpass_0p1to10Hz_mag_response.PNG ‏18 KB

  • Massive Update of Return Vendor flag and creation of Customer Data

    Dear.
    For many vendors I need to run a massive update of return vendor flag of purchasing data and creation of  the linked customer.
    I have tried to create a batch input recording using LSMW but the system send an error message WY164  It is not possible to copy data from field 'Returns with shipping proc.'
    How can I solve this problem ?
    Or do you know another solution to run a massive update of return vendor flag of purchasing data and  creation of  the linked customer ?
    Thanks

    hi,
    Pls go through the SAP note 447070...
    This may solve the problem...
    check it once..
    Regards
    Priyanka.P

  • Can u tell me any predefined BAPI for change and creation of Material

    Hi,
        Can anybody tell me  predefined BAPI for change and creation of Materialmasterand Pricing?
    Thanks & regards,
    Gopianne.

    you can use the BAPI to BAPI_MATERIAL_SAVEDATA create as well as to change material master.
    When changing material master data, you need enter only the material
    number.
    In the header data, you must select at least one view for which data is
    to be created. Depending on the view selected, you must maintain other
    required parameters. If you do not enter values for all of the required
    parameters, the method is ended with an error message.
    The corresponding fields in the tables (such as CLIENTDATA) must first
    be supplied with data by the calling program. An indicator must also be
    set for each of these fields so that the data is written to the database
    by the method. This requires the calling program to supply the
    corresponding field with the indicator in a checkbox table (for example,
    CLIENTDATAX). Checkbox tables exist for tables that do not contain any
    language-dependent texts (MAKT, MLTX), International Article Numbers
    (MEAN), or tax classifications (MLAN). Several data records for a
    material can be created in these tables.
    regards
    vivek
    reward points if it helps

  • Does dropping bitmap index and creation of b- index cause any dead locks

    Does dropping a bitmap index on table which is being used continuously for DML operations and creation of b- index cause any dead locks on a table
    in oracle 10g database
    ( 10.1.0.4.0 - 64bi).
    we have seen alert log file which has dead lock occurrence.. would index change/re-creation resulted dead lock or some other reason?
    Could you please give us info or help us on this.. thanks in advance..

    Bitmap indexes can be the cause of deadlocks on busy systems.
    Dropping indexes may cause some locking.
    Creating indexes may cause some locking.
    You haven't given any traces or scripts or lock information, so difficult to say which one (if any) was the cause of your deadlocks.
    It would be better to do this activity when the system is not busy.

  • Buffering and creation of secondary indexes.

    Hi All,
    I have a table that has more than 6 million records, due to which performance is slow during the transaction search, kindly let me know if Buffering and creation of secondary indexes will help me.
    I am given to understand that creation of seconary indexes and full buffering may not always improve performance. Kindly let me know when it is advised to go for full buffering.
    Regards,
    Thiru

    Hi,
    create  secondary index  for the table
    check below link
    http://help.sap.com/saphelp_nw70/helpdata/en/cf/21eb20446011d189700000e8322d00/content.htm
    Regards,
    Madhu

  • Allow "Signing" and "Creation of Template Pages" in Reader XI

    Hi.
      I have created a form in Adobe Pro XI that allows the (Reader XI) user to insert additional templates pages by clicking "button X".  The form also provides the user a Digital Signature field to sign the document.
      In order for the user to be able to use the Digital Signature field the file must be saved as a "Reader Extended PDF" with the "Enable More Tools" option.  This however, disables the addional templates option.
      Is there a way to allow for both "Signing" and "Creation of Template Pages" in a Reader document?
    Thanks

    Thanks GKaiseril.  While I was hoping for some sort of option choice or Javascript I feared that would be the resonse.

  • Document Assembly and Creation of Template Pages?

    What do “document assembly” and “creation of template pages” mean?
    I am a print graphic designer who usually handles the printing for a particular client who does long reports. I also give them a low resolution PDF for email circulation and posting on their website. They are now want to use the PDF for other purposes such as creating PowerPoint presentations that they will do in house. Therefore they have asked me to unlock all the security options -- that quite frankly I never even dealt with. Specifically they want to “allow document assembly, commenting, signing, and creation of template pages.” Assembly, commenting and signing seem innocuous, but will document assembly and template pages have significance for me as a graphic designer? I'm not sure what these two functions are.

    “document assembly” means the combination of documents.
    “creation of template pages” is for the creation of template pages for forms

  • How do I eliminate the use and creation of big files in the profile - places.sqlite, urlclassifier3.sqlite, places.sqlite-wal?

    I want to eliminate the use and creation of big files in the profile - places.sqlite (10MB), urlclassifier3.sqlite (5MB), places.sqlite-wal (1MB)?
    Ffor urlclassifier, I tried disabling safebrowsing options (in security menu or in about:config), but file remains. Also if deleted it is still re-created with 5 MB.

    Start at http://www.mozilla.com and download the latest
    version. '''At the completion of the download don't let the setup start Firefox for you, when the setup ends, start Firefox in your normal manner this way you will be less likely to create a new profile.'''
    The extra startup pages are temporary -- read them. The next time
    Firefox comes up you should be back to starting with your normal home page.
    '''Note: Firefox must be down once the install starts. '''
    Close Firefox with File>Exit. Then make sure Firefox is not running --
    On Windows: check the "Processes" tab in the Windows Task Manager.
    '''On Mac: Firefox > Quit then Command+option+Esc, if Firefox running use Force quit'''
    Permission errors on Mac:
    '''If you were getting permission errors on a Mac, download the latest
    Firefox version, then uninstall and reinstall Firefox. Do not remove
    your profile directories and files as they contain your settings,
    bookmarks, history, extensions, passwords, and cookies.'''
    in any case once you are on 4.0 you might want to take a look at "(fx4)"
    * Fx4: Firefox 4.0 Problems and Orientation (#fx4) <br>http://dmcritchie.mvps.org/firefox/firefox-problems#fx4

  • What's the difference between segment filtering and reduced message type

    Hi gurus,
    What's the difference between segment filtering and reduced message type? It seems they have the same functionality: Reduce the segment while idoc is generated.
    Thanks in advance.

    Hi,
    BD53 is for IDoc Reduction.
    this allows you to create a reduced message based upon a standard message type.If you want see mandatory fields. go to T-coe BD53 and give one standard messege type name and eg: matmas
    there mandatory fields will be in Green color..
    And BD56- This transaction is used to filter out segments of IDocs for combination of sender and receiver. This is usefull in scenarios where a standard IDoc with many segments is used but the receiving partner is only interested in some of the segments
    the table related to this transation is TBD20
      please go through below blog you have an idea abt that,
    http://wiki.sdn.sap.com/wiki/display/ABAP/ReducedMessageTypes
    http://saptotal.com/IDoc%20Segment%20Filtering.html
    regards,
    ganesh.

  • Use of filters and aggregations based on hierarchy nodes in an update rule

    Hello,
    I need to calculate some indicators from a ODS (BW 3.5) that contain raw data to another one that will contain indicators. These figures are the results of the use of filters and aggregations based on hierarchy nodes (for example: all sales accounts under a node).
    In fact, this is typically a query but I want to store these figures, so I need
    I understood I have to use a start routine. I never did that before.
    Could you provide me with easy-to-understand-for-newbies examples of:
    - filtering data based on the value of an infoobject (value must be empty, for example)
    - filtering and aggregation of data based on the appartenance to hierarchy nodes (all sales figures, ....)
    - aggregation of the key figures based on different characteristics after filtering of these
    Well, I am asking a lot ...
    Thank you very much
    Thomas

    Please go through the following link to learn more on aggregates:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e55aaca6-0301-0010-928e-af44060bda32
    Also go through the very detailed documentation:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/67efb9bb-0601-0010-f7a2-b582e94bcf8a
    Regards,
    Mahesh

  • Can Update and creation be done in the same page

    Hi
    ADF BC application.
    Situation :
    I have a search screen , in which the details are shown as Master-inline table.
    For the first column in the table ,I have a link,clicking on which takes to the other page for updating that record.
    And below the table , I have a Button create which takes to other page for creating a new record.
    Questions:
    1. Can the update page and Creation page be same? If yes how?
    2. How to make the first column into a link?
    Note : In update and Creation , I have 2 tables linked i.e., master details.
    Please Help.
    Thanks.

    Hi,
    if you simply navigate from one page to the other then the selected row currency is shown in the edit form.
    If you execute a operation binding that executes the CreateInsert operation then this will create an empty new row.
    The way you do this is:
    - create a pageDef entry under the bindings node (StructureWindow)
    - Select InsertInto Bindings and choose action binding
    - In the editor, give a name to this new binding e.g. CreateInsert and select the CreateInsert operation from the underlying ViewObject
    - In ADF Faces -
    - add a command link to the UI
    - Instead of adding a static navigation case, point teh Action property to a managed bean method
    - in teh managed bean method, access the CreatInsert binding, execute it and ten navigate to the next page
    FacesContext fctx = FacesContext.getCurrentInstance();
    Application app = fctx.getApplication();
    ValueBinding vb = app.createValueBinding("#{bindings}");
    DCBindingContainer dc = (DCBindingContainer) vb.getValue(fctx);
    OperationBinding oper = (OperationBinding) dciter.get("CreateInsert");
    oper.execute();
    return "<static navigation case to navigate to edit form>"
    Frank

  • Transferring Email Filters and Other Settings to a New BB Device

    I will be upgrading/replacing the BB device of one of my users. He's got a lot of email filters and personal setting preferences (i.e. ring tones, speed dial,etc.) Can I transfer the settings and filters to his new BB?
    I tried transferring it through the BB Desktop Mgr > Device Switch Wizard but it messed up the Messages/Corporate Email. After syncing the device with the BES he got double copy of the emails that are currently in his Inbox.
    Thanks in advance!
    Solved!
    Go to Solution.

    You can do a Backup of the old, and then a selective restore from the backup to the new device...
    DM > Backup/Restore > Advanced.
    Select only those preference databases you desire (i.e., Address Book preferences, Speed Dial, etc.).
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Configuration to setup approval for vendor changes and creation

    Can anyone help to know where to switch on the approval for vendor changes and creation?

    Just a quick thanks that it worked, aesiris.
    Also on the that page:  https://wiki.archlinux.org/index.php/Po … Management
    i2c device power management can be managed with very much the same rule structure:
    ACTION=="add", SUBSYSTEM=="i2c", TEST=="power/control", ATTR{power/control}="auto"
    Can't for sure say the same for spi devices, since I apparently have none.  I'd edit that page, but I can't.

Maybe you are looking for