List with useVirtualLayout = "false" and dataGroup.invalidateDisplayList ();

Hi all

I wonder if someone could explain this behavior:

-J' have a list with a tile layout

-The list is on do not use Virtualization: useVirtualLayout = "false".

Elsewhere in the code... when I call dataGroup.invalidateDisplayList () on the list, it refreshes the list when useVirtualLayout is NOT set to false.

Please can someone explain why this is?

Thank you

Probably because virtualLayout sets the property data on itemRenderers as

they get recycled.  If once not virtual, each rendering engine is assigned its data

It probably is to be given.  If you have dependencies on that

assignment, he could make a difference.

Tags: Flex

Similar Questions

  • List with useVirtualLayout = 'true' strange problem

    Hello!

    I have a strange problem. I use a custom in a TileLayout list itemRenderer to display images.

    Each element has a vote button to vote a picture.

    The list is not visible at the first and very small in height.

    If the currently logged-on user has already voted, the button is disabled.

    To do this in the creationComplete of the itemRenderer Component Manager, I run a function located in the parentApplication:

    var checkVote:Boolean = parentApplication.checkVoteStatus (data.pictureID);

    This method executes a loop in an array of the user images ID voted (which is filled when the application is launched) and returns true if it finds that ID in the voted items IDs and false otherwise.

    The strange part is that if I use useVirtualLayout = "true" it messes up the buttons in the second row of points. The first line is correct.

    I added Alert.show in the itemRenderer component to check if the assessment of the ID is true or false, and off the 6 test in the list, only 4 images has obtained, and these 4 were on the first line. The other 2 were on the second line and they trigger only when the list because only visible and higher.

    So... what's up?

    If you use virtual layout renderers are recycled so creationComplete is

    not recommended.  Maybe try the dataChange event.

  • How to get a list with calc scripts and forms from a planning application?

    Hi gurus,

    Is it possible, using SQL charly or something else, to get a list with the data forms and its calc scripts associated with the place of open one by one and their Visual verification?

    Thanks in advance

    Try looking at HSP_FORM, HSP_FORM_CALCS, HSP_OBJECT

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Is there a list of words COMBINED, the language pack, for example a list with English words and Dutch?

    In the Netherlands, we very often mix Dutch and English and sometimes in German in a document or data entry etc. I'm getting a little tired of change language every 30 seconds to check my spelling mistakes. I want a list/language-pack with all the English and German and Dutch words it contains. Is there such a list or can I do it myself?

    Moreover, I know that less would be less accurate, since I do typo in an English word that could possibly create a word correctly written in Dutch or German, but I'm willing to take this disadvantage.

    Never seen a spell checker dictionary combined. I probably have to build it yourself.

    http://Hunspell.sourceforge.NET/

  • Scan chain with TRUE FALSE and the comma as separator

    Produced cabling 'REAL FAKE' entry as '%s %s' format as false to scan string constants

    the two binary values you want, corresponding to the input string.

    Whereas "TRUE, FALSE" as entry and "%s, %s" format leads to an error.

    I lost a lot of time to understand that the error has its origin in the incompatible separator and not in the way I use this function.

    Wouldn't be possible (ask nicely) to place a note in the online help for this function, you need to use only spaces or tabs as separators
    with chains binary when you use this function?

    It was not clear to me why I should not use the comma as a separator.

    Now, my solution is to replace all the commas with spaces before you wire the input string to scan from a string.

    Is there another workaround solution or someone can provide a deeper understanding of why comma does not work?

    My guess is that he was mistaken for a decimal separator and implies not being part of a binary value.

    Use ' % [^,], %s ' as your specifier.  ' % [^,] "will result in a string up to the next comma.

  • I have a drop down list with numbers refrence and show the hidden sub

    I have a form that has a drop down menu that has several numbers 1,2,3,4,5,6. I also have a subform hidden with the information that I need to post, so if they want 2 I need 2 instances of this subform to show. If they choose 3 I need 3 instances of this subform to apear. ECT... I have all text flowed and the West.

    Ok. In this case you must first define the instance of the subform, and then you will need to loop through all instances and make these visible subforms.

    In the change event of the DropDownList control, you can put the following script.

    var a = xfa.event.newText; This will capture the value in the case of change, if you want the script to the event exit you have

    AreadDoorMF.instanceManager.setInstances (a);       to make it in the var a this.rawValue

    for (var i = 0; i)

    {

    xfa.resolveNode ("AreaDoorDF [" + i + "]"). DF.presence = "visible";

    xfa.resolveNode ("AreaDoorDF [" + i + "]"). DF. Header.Presence = "visible";

    }

    Sorry I just setInstance instead of setInstances

    Thank you

    Sidonie

  • PowerCLI script for VMFS datastore list with ID NAA and latency?

    Hi all

    Can anyone here please share a script, or help me to change the PowerCLI to display the store name of VMFS data, capacity and NAA.ID and latency in the past 24 hours?

    So far I can only use the WHowe script below:

    $esxName = "PRODESXi10".

    SE PRODVCENTER01-connect-VIServer-Server "VM".

    New-VIProperty-name lunDatastoreName - ObjectType ScsiLun-Value {}

    Param ($LUN)

    $ds = $lun. VMHost.ExtensionData.Datastore | % {Get-view $_} | `

    where {$_.} Summary.Type - eq "VMFS" - and

    (_.Info.Vmfs.Extent $ |) where {$_.} DiskName - eq $lun. CanonicalName})}

    {if ($DS)}

    $ds. Name

    }

    } - Force | Out-Null

    Get-VMHost-name $esxName | Get-ScsiLun | Select CanonicalName, CapacityMB, lunDatastoreName

    Thanks in advance,

    But you easily add a timestamp.

    Get-Datastore.

    Select Name,

    @{N = "DateTime"; E = {Get-DateTime}},

    @{N = "CanonicalName"; E = {$_.ExtensionData.Info.Vmfs.Extent [0].} DiskName}},

    @{N = 'Latency'; E = {}

    $esx = @(get-View-Id $_.) ExtensionData.Host.Key | Get - VIObjectByVIView)

    $instance = $_.ExtensionData.Info.Vmfs.Uuid

    $stat = 'datastore.totalReadLatency.average ','datastore.totalWriteLatency.average '.

    $stats = get-Stat-entity $esx - Stat $stat - Realtime - MaxSamples 1 - Instance $instance

    ($stats |) Measure-object-property - average value. Select - ExpandProperty average) /($esx.) Count * 2)

    }}

  • Select the list with the list of dynamic values with more than 4000 tank of query

    Hello

    I have no application where users can store SQL queries in a CLOB column. This query is then used to populate the list, select a dynamic element through LOV. Following the code returns the query for dynamic LOV used to populate the select list. It works fine except when the length of the lv_sqlStatement becomes more than 4000 characters. Then application crashes with "ORA-06502: PL/SQL: digital or value error: character string buffer too small" when Select the list item rendering.

    Any ideas how to get around this problem? Any help is appreciated. Do not say to them to write shorter than 4000 queries because I can't (it's operational requirements).

    DECLARE
    lv_sqlStatement end_user_set.sql_statement%type;
    BEGIN
    lv_sqlStatement: =: P2_SQL_STATEMENT;
    return ' select the label, value of (' | lv_sql_statement | t ')
    To_char (t.value) if not in (select value from end_user_set_member eusm)
    where eusm. EUSRSET_ID = ' | : P2_EUSRSET_ID | ')';
    END;

    I just blogged about this problem and posted a solution. See this announcement:

    http://www.deneskubicek.blogspot.de/2013/03/select-list-with-dynamic-lov-and-Ora.html

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • How to make a list with the DB control

    Hello

    I need fill a listbox using the dbcontrol, I saw how to define a textBox control with a recordset from the database by making a custom_query and call it through java script, example:

    infra_custom. SQL:

    Get Prueba_Nak
    DESCRIPCIÓN SELECT THE
    OF DB_PRUEBA
    WHERE CALL_NUMBER =: nCALL_NUMBER

    Custom_inCallDetails.js:

    function pruebaQueryMuestra() {}
    var db = document.all.DB;
    DB. ClearParam();
    DB. AddParam ("CALL_NUMBER", document.all.CALL_NUMBER.value);
    var RS = db. GetRecordSet ("Get Prueba_Nak");
    document.all.EXTFLDV_500004.value = RS("DELESDE").value;
    document.all.MI_POLLA.value = "HELLO";
    }

    function customLoad() {}
    pruebaQueryMuestra();
    }

    Well, this work well for complete results, but, if I need more lines for painting, a list, how can I make a loop in a recordset with only one result?

    Kind regards

    The first thing I would say is that you just use the SU_SELECT_VALUES table & fill if possible through Designer.

    If you don't want really dynamically change the menu drop down content based on the number of appeal then you could populate the drop-down list dynamically using JavaScript.

    something like...

    fill in the parameters...

    var r = da. DB. GetRecordset...

    If (! r.BOF) r.MoveFirst;
    If (r.Fields.Count > 2)
    do something here.  There are not enough columns in the query results to populate a drop-down list with a ref and name.
    on the other
    {
    FAL EXTFLDV_500004.options. Length = 0;
    While (! r.EOF)
    {
    Like var = document.createElement ("OPTION");
    oOption.value = r("REF").value;
    oOption.text = r("NAME").value;
    FAL EXTFLDV_500004.options. Add (option);
    r.MoveNext;
    }
    }
  • How to make a keyboard navigation in the list multiple choice Flash and control it via actionscript?

    I do a style rpg game in actionscript 3.0 and I want to do a list multiple choice. I know how to make the list with the buttons and to fight against it. My question is, how to make a list that can be done using the arrows on the keyboard? What I'm after is to be able to strike up and down to select the buttons and enter to choose the button.

    You'll need to make the macarons also movieclips so that you can control which display state they are in (highlighted or not).

    Then, you need to configure a listener for the keys on the keyboard so that you can have change the selected button and run if you press Enter.  Here's a basic configuration of a keyboard listener that shows how to detect the three keys you mentioned...

    stage.addEventListener (KeyboardEvent.KEY_DOWN, keyIsDown);

    function keyIsDown(e:KeyboardEvent):void {}

    If (e.keyCode == Keyboard.DOWN) {}

    trace ("Down");

    } Else if (e.keyCode == Keyboard.UP) {}

    trace ("up");

    } Else if (e.keyCode == Keyboard.ENTER) {}

    trace ("Enter");

    }

    }

  • Two Select lists with Submit single page branching to different page each?

    Hi all

    I have a page (No. 1) with two 'select list with Submit"(A and B). This page contains also two branches defined. I want to realize that the first list selection with present (A) would always use the first branching (at page n ° 2) and the select list a second with the submit (B) would use the second fork (at page no. 3).

    How can I achieve this? Y at - it a tutorial describing lists of selection and the ramifications?

    Thank you for your time.

    Daniel

    When the selection list submits the page, the value of "motion" is the name of the selection list item. So all you need to do is add a condition to each Directorate-General: Request = Expression 1 and enter the name of the element (top) in the field of 1 the condition Expression.

    Scott

  • I need a list send me Windows based utility of magnification for XP, am a MSN user with vision problems and cannot zoom in easily on what I have.

    I need a list, sent me to my XP Windows-based magnification utilities, am a user of MSN base with vision problems and cannot zoom in with what I have, and the work of the "Magnifier" somewhat well but could use something better.

    Any ideas?

    Hello

    Please refer to the links and check if it helps.

    How to set accessibility features for people who are blind or who have low vision in Windows XP

    http://support.Microsoft.com/kb/308978

     

    Windows XP accessibility tutorials

    http://www.Microsoft.com/enable/training/windowsxp/default.aspx

    Overview of the magnifying glass

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/magnify_about.mspx?mfr=true

    I hope the information is useful!

  • Add or remove programs list has an extra space with black blocks and white space.

    This problem causes the list to be VERY long with some programs listed at the top, and then, many white and black spaces blocked in betweent the rest of the programs.  I do not have autocad and I ran the .exe that true negative results in Exposeicon.  None of these have solved the problem.  I had this problem for a while, so I don't know what to install or uninstall caused this problem.  Does anyone know what anyone else for this problem?

    Thank you.

    I did some more research online and found another thread on this problem.  I downloaded 'Add Remove Pro' from the list of items on the list provided by this software and a list of the computer gives me.  I uninstalled a few programs that have been identified between the programs before and after the empty space in the list given to me by the Add/Remove on my pc.  After you have uninstalled a few things that have been in the interval and restartig the pc, the empty space is left.

  • How to convert Outlook Express to Outlook without losing files or existing e-mails and taking my contact list with me?

    original title: change of e-mail

    How to convert Outlook Express to Outlook without losing files or existing e-mails and taking my contact list with me?

    Hi KennethPickering,

    You can refer the following Microsoft Knowledge Base article and check.

     

    How upgrade from Outlook Express to Outlook

    http://support.Microsoft.com/kb/287073

    Let us know if it helps.

  • How can I select the files in a folder with the help of a list with the files you want and after that rename only the files using another list with desired new names?

    How can I select the files in a folder with the help of a list with the files you want and after that rename only the files using another list with desired new names?

    I have only:
    D: / images (where are necessary + not need files)
    -a list with only the necessary files
    -a list with new names for the files needed
    Thank you.

    Hi Pustiu,

    Thanks for posting in the Microsoft Community.

    You want to know how to select the files in a folder using a list with the files you want and after that rename only the files using another list with desired new names.

    I would have you post your query in the TechNet forums because it caters to an audience of it professionals.

    Your query will be better addressed there.

    Check out the link-

    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/threads

    We know if you need help. We will be happy to help you. We, at tender Microsoft to excellence.

    Thank you.

Maybe you are looking for