Why doesn't a List update it's display when you change the dataprovider Array?

Hi. I have a list and an array with more strings inside. If i
remove some of the strings from the array and add some new strings
then the list display doesn't update. How can i force the list to
update?
List1.dataProvider = Array1;
Array1.pop();
Array1.push("test");
List Update??????

Hi MaxMuld,
Because it has to be ArrayCollection, not the Array.
Documentation about Datagrid.dataProvider says that Array as
provider will be converted to ArrayCollection. And ArrayCollection
performs all the notifications if you add/delete items in it.
If you still want to use Array you should do the following:
var ar= new Array();
ar.push(x)
grid.dataProvider = ar;
grid.dataProvider = new Array();
ar.pop();
grid.dataProvider = ar;
But this is very inefficient.
Dmitri.

Similar Messages

  • Music List is not ordered alphabetical when I changed the language

    I changed the language from Turkish to English and I have seen that the list of the songs is not ordered alphabetical.
    A song whose first letter is J and it is in the K list.
    A song whose first letter is Q and it is in the R list.
    How I can solve this problem.

    I restarted my iphone and re sync and it doesnt work. I tried reset all setting doesnt work. I will try remove all folders apps and songs. Maybe solved. if this doesnt work I'll wait 4.2 .
    Message was edited by: erenyatkin

  • When we change the non-mandatory field in the form, it doesn't get updated

    Hi... I have one question here..
    If I have non-mandatory fields in a custom form, and when I query the form and change the value in the non-mandatory field and click on save, then it doesn't save. It says 'No Changes to Save'. But, it's not the same for non-mandatory fields.
    Can you please suggest me?
    -vrdida

    VRdida,
    If I understand correctly, you have a non-Required item in your form that has an LOV assigned. While this item is Required=No, it works correctly. When you change the Required property of the item to 'Yes' then it fails. When this occurs, do you get an error message? Are you able to select a value from the LOV?
    It sounds like the Required=Yes property might be preventing you f rom opening the LOV. Try setting the Module property: Defer Required Enforcement = Yes. This is the typical setting in an EBS form. This is what allows you to navigate out of a Required field if the value is NULL, but will give you a Required message when you attempt to save the record if the value is still NULL.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Apr 6, 2011 11:43 AM

  • How can you change the Itunes library? I updated it, and chose the wrong library, and now I can't change it helppppppp pleasee!!! D: ;(

    This *****! I updated my Itunes, and it asked me to choose a library, and I chose the wrong one, and now I can't change it. What am I supposed to do now?

    Firstly, I caution your approach to allow users to alter the orientation of the report. Crystal Reports doesn't adapt too well when the orientation is modified. You'll end up with fields dropped off on the right hand side of the report, or with a large gap on the right. Our engine doesn't do any auto adjusting of fields when you alter the orientation.
    In order to see the changes it is best to re-load the page and get a new viewer. You can choose to store the ParameterFields in a Session variable for re-use on the post back so your users aren't re-prompted for values.

  • Why doesn't Apple list the changes in iPhone updates?

    Why doesn't Apple list the changes included with each iteration of iPhone updates? They always post a detailed list of changes for all other major software updates. I wonder why the same is not true for the iPhone, leaving us all guessing and wondering...

    Just to add, Ansuz82 pointed out, Apple's track record is that they don't really ever give full published details about what their updates include in any of their products really. If the iPhone is your first product by Apple you may not be aware of this. To them, saying Bug Fixes is enough. If they publicly add more info, it means they really wanted to get that point out. eg: the 1.1.1 mainly just talked about iTunes WiFi store. 1.1.2 mainly talked about the Tiff exploit fixed and keyboard updates for languages. However, with all, a lot more does get changed than just the key points mentioned. And by a lot, I don't mean a lot that you will see. Have to remember, they are still ironing out the OS for the iPhone. A lot of changes to them is just cleaning up and fixing known bugs that many of us as users may not even know exisit (though we see the outcome of them when apps colide and crash each other).
    Message was edited by: DaVBMan

  • I have Lion on my laptop and I want to back up my calendar TO my iphone. Not the reverse. iCloud only goes from iphone to iCloud to mac not the other way. Also, why doesn't "sync" mean update most recent changes across all devices?

    I have Lion on my laptop and I want to back up my calendar TO my iphone. Not the reverse. iCloud only goes from iphone to iCloud to mac not the other way. Also, why doesn't "sync" mean update most recent changes across all devices? I thought that was the point of iCloud. Any suggestions since iCloud doesn't seem to work?

    It's a work computer so I wanted to save them to my iTunes so I can access from another computer.  Should I go to a home computer and just Import for best results?  If so how do I do this?  Also, why would I be synched with another library and how do I find out what this is?  Very new/green user here

  • HT3810 I am running snow leopard 10.6.1 on my mac, why doesn't running "software update" offer to load 10.6.8?

    I am running snow leopard 10.6.1 on my mac, why doesn't running "software update" offer to load 10.6.8?

    Please take a screenshot of the following:
    Go to the Apple menu which appears in the upper left of the screen, then click About this Mac. Screenshot the window that pops up.
    Also under the Apple menu, run Software Update. After it checks for updates, screenshot the window of available updates.

  • Why doesn't Maven find jfxrt.jar, although it is included in the JDK?

    Hi,
    Why doesn't Maven find jfxrt.jar, although it is included in the JDK?
    My solution to build JavaFX apps with Maven is:
    <dependency>
                <groupId>com.oracle</groupId>
                <artifactId>javafx</artifactId>
                <version>2.2</version>
                <scope>system</scope>
                <systemPath>${java.home}/lib/jfxrt.jar</systemPath>
    </dependency>It works, but I wonder why the Maven build process can't find it automatically, as any other Java dependency, too.
    If I build without the dependency, it can't find javafx imports.
    Since Java 7 Update 6 it is included in the JDK.

    There is a long drawn-out thread on this (you don't need to read it):
    Error initializing OC4J server (JDev 10.1.3 EA1) "JDK 7u6 JavaFX integration - Is jfxrt.jar supposed to be on the classpath?"
    Short summary is that jfxrt.jar is in the jdk/jre as of 7u6, but not on the default classpath for the jdk/jre (as of 7u13).
    This will change in a future release (e.g. I believe the latest early access builds of jdk8 do have jfxrt.jar on the default runtime classpath).
    So for now, you will need to explicitly add jfxrt.jar to the classpath. There are various ways to do this, one is to use a system dependency and then use the maven ant run plugin to package your app as is done in this example: http://code.google.com/p/willow-browser/source/browse/pom.xml
    <dependency>
      <groupId>javafx</groupId>
      <artifactId>jfxrt</artifactId>
      <version>${javafx.min.version}</version>
      <scope>system</scope>
      <systemPath>${javafx.runtime.lib.jar}</systemPath>
    </dependency>
    <plugin>
      <artifactId>maven-antrun-plugin</artifactId>
      <version>1.6</version>
      <executions>
        <execution>
          <id>create-launcher-jar</id>
          <phase>package</phase>
          <goals>
            <goal>run</goal>
          </goals>
          <configuration>
            <target xmlns:fx="javafx:com.sun.javafx.tools.ant">
              <taskdef
                  uri="javafx:com.sun.javafx.tools.ant"
                  resource="com/sun/javafx/tools/ant/antlib.xml"
                  classpath="${javafx.tools.ant.jar}"/>
                <fx:application id="fxApp"
                    name="${project.name}"
                    mainClass="${exec.mainClass}"/>
                <fx:jar destfile="${project.build.directory}/${project.build.finalName}-launcher">
                  <fx:application refid="fxApp"/>
                  <fx:fileset dir="${project.build.directory}/classes"/>
                </fx:jar>
                <attachartifact
                    file="${project.build.directory}/${project.build.finalName}-launcher.jar"
                    classifier="launcher"/>
            </target>
          </configuration>
        </execution>
      </executions>
    </plugin>Another way would be to make use of the zenjava javafx maven plugin:
    http://www.zenjava.com/2012/11/24/from-zero-to-javafx-in-5-minutes/

  • Hello, I update my mac pro to 10.10. Why the photoshop cs6 change to slowly now. When I change the tools like brush to command+Z, It's will be freeze a while. why? and how can I improve?

    hello, I update my mac pro to 10.10. Why the photoshop cs6 change to slowly now. When I change the tools like brush to command+Z, It's will be freeze a while. why? and how can I improve?

    what a long post....Apple, btw, does not read this stuff, so ranting, raving, and complaining here might make you feel good, but it does no good at all. That being said, I, too have a Mac Pro Quad Core Xeon with 6 gigs of ram and an nVidia 8800 GT graphics card (not as good as yours, alas) and I've had no problems at all with it. Yes, it doesn't have Thunderbolt, but maybe we Mac pro owners will get lucky and someone will come out with an adapter (probably not). No, you probably don't have to throw away your Mac Pro, but if you do, I'll take it, for a small "recycling" fee >:-) That was a joke.  Yes, the Mac Pro's future isn't quite clear, YET. Hopefully that will improve very soon. As for not being able to upgrade to Mountain Lion. Don't worry about that too much, Nobody is forcing you to do that.  Your Mac Pro won't quit working if it isn't installed. From what  I've heard, you should give the new OS a chance, and wait to get it, in case there might be some bugs, or stuff not working with the new OS, which has been known to happen. Yes, we Mac Pro owners don't like being treated like mushrooms-kept in the dark, and being fed......... but Apple is Apple and it will do what it does, and there is nothing you or me can really do to change that. All I can say is....trust, have faith, be patient, go for a walk, do something else to take your mind off of this problem. IF apple decides to drop the Mac Pro for good, and that's a big "IF", I think they will anger a whole bunch of people
    which isn't good. However, that hasn't happened...YET. Let us hope that it doesn't
    John B

  • Why doesn't Skype not close when you click the X b...

    I'd like to get some input as to why Skype does not close when you click the red X button on the top right corner but rather only gets minimized. It's frustrating and makes no sense at all. The only way to close Skype is to right click the icon in the tray and choose "Quit Skype."
    I'd like to understand why this useless feature exists. It renders the minimize button ( - ) useless, which is only two squares away from the X button. 
    Please don't proceed to list other programs that do this (i.e. some antivirus software) as that was not what I asked. It's standard for programs to close when the X button is clicked, as will happen momentarily when I click the X button on my Chrome browser window when I'm done typing this quation. Thanks

    What he was talking about was setting it to ""run as administrator" in the shortcut/executable as you should know that would run the application in a true administrator mode (like Windows XP) vs. the default crippled administrators group in Windows.  I personally have not had to do this since I have not run into the issue but for those that have, people claimed it has helped/resolved the issue.  In regards to following UI interaction rules, it does as it actually closes the form.    Skype doesn't send an additional closure to the resident system tray icon form because it's a memory resident communication program.  Some programs give you that option, others don't.   Geforce Experience is one of the latest programs I use, that doesn't.  Nobody forces anything on you.  If you feel your family is "forcing" something on you, you always have the option of "forcing" something on them or suggesting another method you prefer  in order to stay in contact with you.  In the end that's a family issue, not a Skype one.
    If you want to close Skype down in one click you can do so using the provided shortcuts in the following thread.  You can also assign those shortcuts hotkeys or assign them to a key on your keypboard/mouse using additional key mapping software to completely close Skype with the press of a single button.
    http://community.skype.com/t5/Windows-desktop-client/How-to-quit-Skype-with-keyboard-shortcut-on-Win...

  • My iPad 2 will not allow me to update my apps. When I hit the update button I get a spinning circle but then it times out and doesn't update. Please help.

    My iPad 2 will not allow me to update my apps. When I hit the update button I get a spinning circle but then it times out and doesn't update. In the past when I have updated successfully, the spinning circle would show me an indicator of time left on the update. I no longer have this Indicator. The circle just spins and times out and nothing happens. I've reset the iPad in the settings menu, reset the router, logged in and out of Apple id, powered ithe iPad off and on, and tried a couple other "fixes" that I've read online. So far no luck. AAny help would be greatly appreciated. Much thanks!

    How much free space do you have? If it is low, installers may not be able to run properly.

  • Why doesn't apple have a file of events that ties to the iCal program and the Address book file? By having that relationship it seems that you could call up all of the events tied to a customer while in the address book or likewise call up all of the even

    Why doesn't apple have a file of events that ties to the iCal program and the Address book file? By having that relationship it seems that you could call up all of the events tied to a customer while in the address book or likewise call up all of the events tied to a contact that was in the iCal program as a scheduled meeting. Even in the to do's you could easily look back at the events tied to an individual so as to bring yourself up to speed with what you were doing with the individual in mind.

        I definitely understand your concern and I apologize for all the frustration. Verizon Wireless has a strong customer commitment to delivering the best from our service and staff. I am disappointed to hear the service you received did not reflect this commitment.
    I definitely want to help get to the bottom of this and further assist you. Please reply to my direct message so I can access your account and further assist. I am sure we can get this resolved.
    JohnB_VZW
    Follow us on Twitter @VZWSupport

  • HT204319 Why don't we list model number with this information rather than the month the model was released? e.g. MacBook 2,1 or 5,2 or whatever.

    Why don't we list model number with this information rather than the month the model was released?
    e.g. MacBook 2,1 or 5,2 or whatever.

    Generally, Apple refers to it's systems by what part of the year they are released, ie early - mid - late.  Some people do provide the model number when they post questions, however, generally, the time of year and year released equals the model number.

  • Why doesn't Lion OSX 7.2 support Pando Calendar? Installed the Lion OSX7.2 and lost my calendar!

    Why doesn't Lion OSX 7.2 support Pando Calendar? Installed the Lion OSX7.2 and lost my calendar!

    Have you gone to the developers site? Do you have the latest version?
    If you're having problems with the software on Lion and you have the latest version you need to contact the developer.
    regards

  • Hi, my daughter is using one of our old iphones as an ipod (no phone service) It's listed under my apple id. when we downloaded the new updates, she started getting ALL of my incoming and outgoing text. How do I change this?

    Hi, my daughter is using one of our old iphone's as an ipod (no phone service) It's listed under my apple id. when we downloaded the new updates, she started getting ALL of my incoming and outgoing text. How do I change this, without clearing her phone and loosing all her songs/etc....?

    I did this on my phone. Her phone isn't activated, no cellular service. So, for whatever reason it won't even let me tap on SEND& RECEIVE, to uncheck anything

Maybe you are looking for

  • Embedding Flash in Word 2010 - convert to PDF

    Trying to create a PDF with embedded Flash video.  Every time I create the PDF it replaces one of the other jpgs in the file with the flash embed and leave a large blank area where the Flash was embedded in the Word doc.....any suggestions?

  • OFFLINE MAPS FOR NOKIA C3-00

    Where can i Download maps for nokia c3-00 the one that can be lunched even without internet connection?

  • Recording problem with RD-XV48DTKB

    Guys I recently bought the above HDD/DVD/VCR device. It works pretty well but twice now it has failed to record a program to hard disk. It didn't give an error, it just recorded 2 hours of nothing. You can play back these 2 hours of black. In each ca

  • VOIP codec VS consumed data on Nokia N8

    Hi, I am using voip calling with my Nokia N8 SIP client. Both Wifi and 3G work well. Only thing is the data consumed. I did couple test calls and noticed that 1 minute voip call used 605 kB for download and 595 kB for upload. Then I configured SIP on

  • Forward/Back button behavior updated in v. 2 release?

    Hi, does anyone know if the button behavior on the remote control has been updated in the new software release? Previously when watching recorded videos it skipped forward in three minute increments. While paused it would jump 10 seconds I think. Ski