SortItemsOn, method (sorts data by more fields)

Hello

I have a DataGrid that I want to be sorted by two fields in one place. (it works fine with one paid however)

I use the SortItemsOn() method which, according to the documentation, sorts the elements of the current data provider by one or more of its fields.

However, if I add two fields I get a weird result. for example

datagrid.sortItemsOn ("Field1, Field2", Array.NUMERIC);

Field1 is of date data type and the text field Field2 so maybe that is why he does not give the expected result.

Thank you very much

I know nothing about flash.  There are several for flex.

but for flash, just make your own by using a custom sort. for example,.

function sortGridF (): void {}

var datagrid.dataProvider = dp:DataProvider;

dp.sortOn (["Field1, Field2"], Array.NUMERIC);

}

p.s. Please check the useful/correct.

Tags: Adobe Animate

Similar Questions

  • sorting data - more great temp tablespace and temporary tablespace

    Hello

    Using oracle 11.2.0.3 and have a general question.

    If have a query which has to say read 100 million records and the Group results it takes a bigger temporary tablespace to sort these data

    Rathet than agnist an identical query summed up version of table (mview) including 25% of this amount - gbe that same but cliniquesdans need to read much less lines.

    s.EG
    select dimesnion.attribute1, dimesnion,.attribute2..., sum(sales)
    
    from fact, dimension
    where ....
    
    group by dimesnion.attribute1, dimesnion,.attribute2
    Thank you very much

    If I understand your question right, I think both group by must take the same temporary as space ' group by ' sorts data in the end after read data. As both the results of queries in the same number of lines, so group by clause will take same tablespace temporary unless there are fewer columns in the materialized view as the original table.

  • LAbview program behind schedule and displays the data arriving more than two minutes ago

    I am currently using two OR 6070e daq cards PCI (16 analog inputs on one) which are syncronised in the software. In the producer I loop gain of 32 channels data and do my processing on the data in the loop of the consumer. Each signal is displayed on a waveform graph. I have sample at 32 kHz to my problem is that my software works well, but it lags behind in the necessary time sto updated graphics. More I run the software becomes more lag. For example, data showed the field of waveform if poster both 5 minutes after the due event. Even if I use a lower sampling rate (3 kHz) continues to accuse software. The number of samples, I've read is always a second of data. How can I make this software performing near real time with out such a big lag. I need to run my software on a windows OS. I know that you won't get no hard real-time running labview Windows OS, what can be done to improve the speed of my program.

    1. another question on the data sheet of the data acquisition card NOR 6070e PCI indicates the size of the buffer FIFO is 512 S. Why can I in labview set myh size buffer to a value greater than 512 samples. For example when I taste 1000 Hz and read 1000 Hz off buffer I exceed the isze of buffer FIFO data acquisition card, but my program still works.

    Cordially (sorry for the spelling error typed this quickly)

    the main VI is DP_software

    You do not have something interesting to look at.

  • Add the data in a field of multiple selection?

    Just got got off the phone with the support of Eloqua ask about the possibility of adding data in a field of multiple selection over time. Apparently, it's possible through mailings of form, but no list will be mailed.  Wouldn't be great if during a download list, you had the ability to add data from a field in your file .csv for existing values in this area in Eloqua.  Here's a use case for this scenario... in our society of industry can be part of multiple market segments.  Depending on the event, a person can feel they are part of the market segment 'Radar', but another event specializing in Sonar... they indicate that they are part of the market segment "Sonar", both being true.  There is currently no easy way to enter these data in Eloqua over time as part of the downloads from the list.  Based on the scenario above, the existing value is 'Radar', but if "Sonar" is the value of the field for the next download it replaces the value of 'Radar '.  Ideally, we would be able to capture the two values.

    I said that if there is enough interest in this idea, Eloqua would consider developing a new option for downloads from the list add vs crush.  I hope others can find a use case for this idea.

    Hi Tina,

    I know it's a bit old but I had a simular problem on adding values to a multi select.  Here's how I approached it.

    1. Add a text based contact field Eloqua to transfer your csv values.  Let's call it "MultiSelect download Value" for this example.

    2. Add Eloqua add values to a multiselect contact field.  What we'll call "MultiSelect Final.

    3. create a program that will add the download list.

    4. in the program, create a step to update Contact data

    . in the update rule, update "Definitive MultiSelect' field, Append the value in the field value, value will be hardcoded, check use a delimiter": ", marks the conditional rule the field" value to download MultiSelect "equals the value hard coded or one that you would like the field to be.

    b. create all update settings you need for your data.

    I approached this way because our downloads from the list should be add the data over time.  The field ' value to download MultiSelect ' allows it to be overwritten on each download.

    Let me know if you want more details.

    Thank you

    Blake

  • How to get the data from more than 100 domains in bulk API V2.0?

    Hi all

    I try to get data from Eloqua by APIs in bulk because of big data.

    But my Contact 186 fields (more than the majority of export limitation 100). I think I need to get all the data by 2 exports.

    How could I corresponds to 2 parts of a line and join together?

    I'm afraid that any change of data between 2 relative to exports 2 synchronizations would make different order.

    FOR EXAMPLE:

    1. any document is deleted or modified (if it matches do not filter) after obtaining data of the first part and before getting the second part, then everyone behind it would have back in part result.

    2. the data in some fields (included in both parts) are changed between the 2 synchronizations, then the values of the second part are more recent but the values of the first part are old.

    All suggestions should.

    Thank you

    Biao

    bhuang -

    I don't know that you ever go to work around the fact that things will change in your database while you are synchronizing the data. You have to have a way to create exceptions on the side of the synchronization.

    If I pushed Eloqua data to a different database and had to contend with the problem of matches change while I'm syncing, I would create a few additional columns in my database to track the status of synchronization for this folder. Or create another small table to track the data map. Here's how I'd do.

    1. I would have two additional columns: 'mapped fields 1' and '2 fields' mapped. They would be all two datetime fields.
    2. I would do only one set of synchronization both. First of all, synchronize all records for email + 99 fields. Do the entire list. For each batch, the datetime value of the lot in 'mapped fields 1' column.
    3. I would then synchronize all folders of email + other 86 fields. Repeat the entire list. For this batch of the datetime value of each batch in their 'mapped the 2 fields' column to now().
    4. For all records that had only 'mapped fields filled, 1' but' fields mapped 2' was empty, I would be re - run the second query Eloqua API using e-mail as the search value. If no results were returned, I would remove the line. Otherwise, update and the value 'mapped fields in 2' now
    5. For all the records that were only "fields mapped 2', I re - run against the first email query API Eloqua, fill in the missing data and define 'mapped the fields of 1' of the current datetime object." If the record has not returned, remove the line because it is probably not in the search longer.
    6. Finally, the value 'mapped fields 1' and 'mapped 2 fields' empty for all records, since you know that data is synchronized. This will allow you to use the same logic above on your next synchronization.

    Who is? It is not super clean, but it will do the job, unless your synchronizations take a ridiculous amount of time and your great data changes often.

  • search form Web apps: how to retrieve the value of the data-source type field

    Hello

    My question is:

    How can I retrieve the value of the source field of a web - app data-types when you insert the "form web search apps" on a web page.

    I have a web application that contains fields from the data source of the type. These fields to recover the (data) value of the 'web app' - 'elements of the field' field of another web application.

    When I insert the form

    Web apps

    Web apps-search form

    Name of the Web application

    It displays the fields with the field (ie. string, number) types other than type of field 'data source '.

    (Note: in the mode 'model of list' module of data tags, the fields of the data source are visible).

    What other (alternative) possibilities are there to create a search form?

    Thanks for your help.

    Kind regards

    Carla

    By chance, I came up with this workaround. Of course there are other methods to get your data from a web - app, but if you want to use the 'Web apps search form', it would be a workaround.

    I noticed that the "Web apps entry form" contains all the fields of web applications for your web application (including the fields of the data source).

    It is possible to add the fields to the form of the "Web apps entry form" in the «Web apps search form»

    If you insert the "Web apps entry form" on a blank page, you will see all the fields in your web App including the "data source fields. The names of form fields contain something like.

  • Sort data in pivot table

    Hi Experts,

    Here's the requirement I need to sort the text Text_field field say to sort this column, I called another field. Sort_Text_field.

    I have the pivot table as follows

    Can I sort Text_field even if Sort_Text_field is not in the PivotTable on the side.

    Thank you!

    Month1-(Jan) Month2-(Feb)
    Text_fieldMetricValue1MetricValue2


    Thank you!!

    Just in case if helps others. Tim Dexter tanks

    Follow this link: https://blogs.oracle.com/xmlpublisher/entry/new_skool_crosstabbing

    Customization

    One new feature that I discovered this week is the ability to show a single column and sort by another. I got a data set which was extracting the month abbreviations, we wanted to show for months through the top and headers of lines on the side. As you know XSL is not very good with dates, in particular recognizing the names of months. He just wants to sort them alphabetically, so, after comes before Jan, etc..
    A way around this is to generate a number of months to the sides of the month and which allows to sort. We can do that in the crosstab, unfortunately it is not exposed in the user interface still but its doable.

    Go back and take a look at the initial crosstab command. especially the line inputs and columns. There, you will find the sort criteria.

    "ProductsBrand {, o = a, t = t}, PeriodYear {, o = a, t = t}.

    Note these key commas inside the braces? Because there is no field that precedes them, this means that the crosstab should sort on the column before the brace that is PeriodYear. But you can insert another column in the data set to be sorted. For myself how I needed to work.

    <>" _Fund_Type_._Fund_Type_Sort_, o = a, t = n} ';' _Fiscal_Period__Amount__._Amt_Fm_Disp_Abbr_ {_Fiscal_Period__Amount__._Amt_Fiscal_Month_Sort_, o = a, t = n} ';' _Execution_Facts_._Amt_ ';' amount '? >

    Excuse the horribly verbose XML tags, good ol' BIEE: 0) emboldened columns are not in the table, but in the data set. I just open the field, dropped and changed the value type (t) is 'n', number, instead of the default 'a' and my crosstab started sorting how I wanted that it.

    If you find other tips and tricks, please share in the comments.

  • to add more fields to a report just below existing fields

    Hello
    there is report in which the following fields are displayed
    
    jobnumber   customername  rig              well  
     124             abc                 r-90            w-10
    
    
    the requiremnt is to add more fields  and place them just below the above fields
    this enitre thing is in  a main frame  say M_GP
    the job number ,customer name is in another main frame  say M_HD
    and the data 124 etc is in a  repeating frame R_date
    
    ie M_GP encloses M_HD and R_date
    
    kindly guide as to how to include the remaining fields just below these fields so tht the 
    output looks like this
    
    jobnumber   customername  rig              well  
     124             abc                 r-90            w-10
    
    contract    material SIR service_SIR     Service_or_num
    12455         48878        9909090           28278
    
    all these fields r part of the same query and same table
    
    
         select OPN_JOB_DESC  "Job Number",
    ENTRY_DATE "Date",
    RIG "Rig",
    WELL "Well"
    ,JOB || '-'  || JOB_TYPE  "Job Type",
    CUSTOMER_NAME "Customer",
    SERVICE_ORDER_NUM "Service Order No:",
    MATERIAL_SEQ   "Material SIR",
    SERVICE_SEQ      "Service SIR",
    CONTRACT           "Contract"
    from xxnp_opn_joblog_001
     where OPN_JOB_DESC =:P_JOB_NUMBER
    kindly Guide

    thanking in advance

    Hello
    Keep the labels and fields both repeating frame and define the position that you have demonstrated.

    -Clément

  • Try to get the data in a field of classical entry in a clip

    I'm working on a project basis CMS (for self learning purposes) and I'm stuck on something trying to get data from a text inside a frame of the movie entry.  The code works with the homeUpdate_btn on the same level as the home_input_txt.

    When I run the file (swf), the homeUpdate_btn does not show because it isn't at the level of the root parent level. (it's inside the clip with the home_input_txt).

    So, if I put the homeUpdate_btn in the parent level (I hope I rethink my levels).  The button is not able to get the data in the home_input_txt field which is at the root.

    I would like to try this again... you can see the classic home_input_txt of parent level (outside the movie clip and make changes), but you can see the homeUpdate_btn of this level.  So to see the homeUpdate_btn I set at the parent level.  Now how I update and obtain data on the level of the root of the home_input_txt... .inside the clip?

    __________________________________________________________________________________________ _____________________________

    I think it's the line that update data comes... that is text entry: homeEdit_variables.home_body = home_input_txt.htmlText;

    ________________________________________________________________________

    Issue: homeUpdate_btn does not show inside the clip when I run.

    ______________________________________________________________________

    Any Action Script for "Udate Home Page.  (again within a clip)

    Stop();

    restrict the characters that the user can type into the text entry field

    home_input_txt. Restrict = "A-Za-z 0-9,.? $& = @_ « ;

    put current home page data in the field of text for editing

    home_input_txt.htmlText = homePageText;

    Assign a variable name for our URLVariables object

    var homeEdit_variables:URLVariables = new URLVariables();

    Build the varSend variable

    var homeEdit_varSend:URLRequest = new URLRequest ("cms_control_file.php");

    homeEdit_varSend.method = URLRequestMethod.POST;

    homeEdit_varSend.data = homeEdit_variables;

    Build the varLoader variable

    var homeEdit_varLoader:URLLoader = new URLLoader;

    homeEdit_varLoader.dataFormat = pouvez;

    homeEdit_varLoader.addEventListener (Event.COMPLETE, completeHandler_home_edit);

    Completion of script handler PHP and return

    function completeHandler_home_edit(event:Event):void {}

    gotoAndStop ("home");

    }

    Add an event listener for the button send and what function to perform

    homeUpdate_btn.addEventListener (MouseEvent.CLICK, updateHomePage);

    Validation of form fields and send the variables when you click on the button

    function updateHomePage(event:MouseEvent):void {}

    Loan variables for sending

    homeEdit_variables.sendRequest = "update_home_page";

    homeEdit_variables.home_body = home_input_txt.htmlText;

    Send the data to the php file

    homeEdit_varLoader.load (homeEdit_varSend);

    }

    I get this error message:

    Symbol "page content", layer 'actions', frame 25, line 44 1119: access to property may be undefined home_input_txt through a reference with static type flash.display:DisplayObjectContainer.

    _______________________________________________________________

    mc_edit is the name for the clip

    So I thought I would say that there... the... in home_input_txt.htmlText the container movie clip.

    I changed the line below in the action script where is the button.

    ______________________________________________________________________________

    homeEdit_variables.home_body = mc_edit.home_input_txt.htmlText

    __________________________________________________________________________

    It worked :-)

    Maybe it's not the right way, but it will solve the problem send me severe headaches... Laughing out loud

    Thank you for all your quick responses.  You kept me motivated

  • Options for data of form field read/write with VBA/player

    I have a project that requires read and write field data in a form by using VBA in PowerPoint. The code I have works fine with the full version of Acrobat, but the customer, so that this project is use the drive. I'm looking for suggestions for what options I should be able to access the data of the form field (I don't have other features other than access to the data in the field). Ideally, I would like a solution that does not require the customer to install something more to make it work, but I guess that's not possible without an additional installation.

    Y at - it a library that exists in the drive (or can be allowed to be installed on the client computer) which would be that data can be read without needing the full version of Acrobat?

    Is a plug-in for reader, or could be written, which would allow for this? A plug-in writing would certainly beyond my current capabilities, but I'm interested to know each as well as the choices that are available.

    Are there other options to do what I have to do?

    I had originally thought to export the form data and analyzed in the VBA program, but it would take a little more work to write the routine analysis instead of direct access to fields. In addition, it seems to me that export is not enabled in the player.

    Thanks for any idea that you may be able to provide.

    You can grant the PDFLibrary, is a C/C++ and not a VB/VBA on a library.  In addition, you can find the purchase of copies of Adobe Acrobat cost is cheaper than the license of the library according to the number of units.

    As you note, Reader (also written in C/C++) plugins can be written, but they need approval from Adobe and they do not allow to add functionality to Acrobat Reader.  Since this is what you would do, you would not get approval.

  • Sort data with display each trip

    HY,

    I need a VI witch sorts data with 2 aray.

    In this image, I first aray after sorting, the first column is position of cd rack and second column is the number of cd.

    To sort, I use position 6 in rack, this position is free.

    To this picture of the situation as:

    1-6

    3 1

    5 3

    4-5

    2-4

    6 1

    These are the movements that you do... I need a VI that makes it.

    EX:

    Good day.


  • How to get data from text fields in double.

    Here is the sample code that I had done with,

    var textf:textField;
    for(var i:int = 0;i<=7;i++)
    {
       textf = new textField;
       this.addChild(textf);
       textf.name = "textdata"+i;   textf.x = 500;  textf.y = 50+50*i ; 
    }
    nextbtn:button = new button();this.addChild(nextbtn)nextbtn.x = 400;nextbtn.y = 500;nextbtn.addEventListener(MouseEvent.CLICK,getdata);
    function getdata(e:MouseEvent):void
    {
       trace(textf.text)
    }
    

    From the code above will add six textfields, but in the next button function, it has to be traced back all the data in the fields of text I typed, but the code shown next button only the last textfield data are drawn, all data can be recovered, how do I get the data of all the textfields remaining...

    Please help me,

    Thanks in advance

    You can also watch the event 'target' to determine the object that generated the event.

  • Better implementation of a callback method to update the various fields?

    Hey everybody,

    I'm developing an application that uses the Google Translate API.  I set it up so that a user can specify a language before you do, and then once they connect, I have wrappers around each piece of text displayed on the screen which will result by the text based on the language selected.

    My problem is that several things must be brought on a given screen.  Therefore, I need to access Google Translate API several times per screen.  To do this, I opened a HTTPConnection on a new thread.  So I turn my screen Interface to the translator class, and then the translator class call my callback methods for the screen (requestSucceeded() or requestFailed()).

    Now, let's say that I have translated the title of the screen and the screen text.  These are two separate HTTPConnections.  So, when the title is translated, I want my requestSucceeded() setText method on my LabelField title.  When the body of the text is translated, I want my requestSucceeded() setText method on my body LabelField.

    What is the best way to have my requestSucceeded() method to differentiate the various fields to be updated?  Currently, I'm passing to the translator two things (via a string [] array): the text to be translated and a 'cookie', which describes the element being translated.  I then use if statements in my callback requestSucceeded() Update method the appropriate field based on the 'cookie' (which the translator will send in return and the text translated).

    I feel like there must be a better way to do this. Does anyone have any suggestions?

    Thank you!

    I don't know I understand your question, but it seems that this is to decouple the the task of translation of background of the user interface element that is being translated. You're already halfway to decouple the background translator of the mechanism that updates the user interface. What you seem to be missing is a nice way to specify the target of the translation without writing a lot of switch / if statements.

    Instead of having a translation callback object that serves several UI elements, you could create a reminder for each UI element. The reminders will always implement the same interface, so the task of the translator background will be not supported. For example, the interface could be something in the sense of:

    interface TranslationCallback {
      void translationCompleted(String translation);
      void translationFailed(Throwable cause);
    }
    

    Your user interface would then create a callback object that encapsulates a user interface element (for example, a text field) and implements the TranslationCallback above. Inside of the translationCompleted and the translationFailed logic will not need to understand which element to update, because the reminder is associated with a particular item in a particular category, for example, TextField.

  • Fusion of data vs search field

    Hello

    Fusion of data vs search field?

    Hi Sanjiv,

    We use data on landing pages only search but merger of field can be used on emails and landing pages.

    Thank you

    Eloqua Export

  • On the forms send us and receive in return, data in the form of fields will be not print.  We can view the data, but the fields to print Virgin.  How can I fix it?

    On the forms send us and receive in return, data in the form of fields will be not print.  We can view the data, but the fields to print Virgin.  How can I fix it?

    OK, it's different. These text boxes are (at least engineering point of view) not considered form data, they are annotations (or markup). On your print dialogue box, you will see a group of "Comments & Form". Make sure that the first control is set to "Document and annotations:

    After this change, you should see the markup of your impressions.

Maybe you are looking for

  • Satellite PRO A200-1 s 1 with Windows 7 x 32. Touchpad does not work

    Hello worldI installed Windows 7 on my Satellite Pro A200-1 s 1, recovered all the drivers on the Toshiba site, everything works fine (less than the webcam that doesn't work even with the previous s.o. XP or Vista...). But my Touchpad does not work..

  • Tecra 540 - BIOS upgrade?

    I am the owner of Tecra 540.Details:Tecra 540CDT/4.0 system UNIT; Z7013615 model number. I just downloaded the latest BIOS for this notebook (bios - 20071126170622.zip) Two files inside:CHGBIOSA. EXEBIOFCE7T.COM Now I'm looking for a way to Flash the

  • message from HMIT with Google Chrome

    I'm having a problem connecting to msn using chrome. "message from hmit" - it also seems that someone has infiltrated my e-mail account, while it has not been disconnected as some weird emails were sent from me to my contacts.  When you try your resp

  • taskbar is no longer display icon volume

    Since contact McAfee yesterday to renew the payment, the volume icon (lower right) has disappeared.  I blame them completely to replace the Volume icon with them, but they deny this.  Can you help me, please?

  • I lost my home group password and can't join.

    original title: lost homegroup pw and no access I did not write down homegroup password after fresh installation of windows 7 home premium 64-bit, it says that a residential group was made by the account and the computer I am currently using, but he