You can addItem() when you do not know the name of the column?
I am trying to enter data into a DataGrid via XML. I do not know in advance what will be the names of the columns. I understand that it is supposed to function as:
var sampleItem:Object = {ColName:10};
dataGridMain.addItem (sampleItem);
but it's no help if you don't know what will be the name of the column (column).
Can I replace the value (10) with variables that match my xml values (output.row [0] .col [0]) and it works fine. But if I try to do the same for column name, it doesn't quite work. How can I use a dynamic of the names of columns in the dataGrid?
gr8 to know that you have found the solution...
Alternatively, you can make the dynamic columns same name as the name of the xml tag using dataprovider. Here's a simple example.
****************************************************************************************
var dp:Array = new Array();
var xml =
for (var i: int = 0; i
var xmlc:XMLList = xml.track [i] .children ();
var col1:String = (xmlc [0] as XML) .localName () as String
var col2:String = xmlc [1] .localName () as String
var col3:String = xmlc [2] .localName () as String
var obj:Object = new Object();
obj [col1] = xml.track [i] .title;
obj [col2] = xml.track [i] .band;
obj [col3] = xml.track [i] mpfprojectdir\dev10\src\csharp\projectbase.file;
DP.push (obj);
}
dg.dataProvider = new DataProvider (dp);
*****************************************************************************************
Kind regards
Karthikeyan R
Tags: Adobe Animate
Similar Questions
-
exit SYS_REFCURSOR when we do not know the structure of slider
If I have a variable of type 'SYS_REFCURSOR.
This cursor is passed to various procedures that open various recordset for this cursor, with different number of columns in the cursor.
How do all the output cursor columns?
1. maybe java will have metadata for cursor information and can produce the result set of the cursor. If so, then it's ok to choose this solution. VbScript is also ok, if it helps.
2. perhaps we can create temporary table based on the cursor. And table objects have meta-data in oracle system tables, I can output all the data slider.
3 perhaps I can use the so-called technique of try-catch to help sort clauses. For example
4. maybe execute immediate can help somehow.Try fetch cur1 into varchar2_var1, .., varchar2_var5 catch (if error) try fetch cur1 into varchar2_var1, .., varchar2_var4 ... Till we know how many fields there are. somehow this way to go next
If you're not in 11g and you have at least a few options of structures that you want to try and extract, you can make use of the exception rowtype_mismatch in intercepting and trying to get in a different structure until you find, start by nesting PL/SQL exception... the end. blocks.
You won't lose lines if you try to go get in the wrong structure.
In the example below, I'm trying to get in a guy with 2 columns and it fails then I try again against a 3-column type.
Note that the incompatibility of implicit conversions column type to lift other exceptions such as ORA-06504 or ORA-01722 for example.
Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 Connected as fsitja SQL> set serveroutput on SQL> SQL> DECLARE 2 cur SYS_REFCURSOR; 3 TYPE t_rec1 IS RECORD( 4 col1 NUMBER, 5 col2 VARCHAR2(100)); 6 v_rec1 t_rec1; 7 TYPE t_rec2 IS RECORD( 8 col3 NUMBER, 9 col4 VARCHAR2(100), 10 col5 VARCHAR2(100)); 11 v_rec2 t_rec2; 12 BEGIN 13 OPEN cur FOR 14 SELECT 1 col3, 'a' col4, 'b' col5 FROM dual; 15 FETCH cur 16 INTO v_rec1; 17 dbms_output.put_line('REC1.COL1: ' || v_rec1.col1); 18 dbms_output.put_line('REC1.COL2: ' || v_rec1.col2); 19 EXCEPTION 20 WHEN rowtype_mismatch THEN 21 FETCH cur 22 INTO v_rec2; 23 dbms_output.put_line('REC2.COL3: ' || v_rec2.col3); 24 dbms_output.put_line('REC2.COL4: ' || v_rec2.col4); 25 dbms_output.put_line('REC2.COL5: ' || v_rec2.col5); 26 END; 27 / REC2.COL3: 1 REC2.COL4: a REC2.COL5: b PL/SQL procedure successfully completed SQL>
-
HWO you disable the windows parental control if you do not know the password
so that's the quest
London123,
Microsoft technical support engineers cannot help you recover the passwords of the files and Microsoft who are lost or forgotten product features.
For more information about this policy, please refer to the sticky below.
http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/3eba3150-8742-4264-be9f-0daaad2282cdCody C
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
I have windows 7 and that you have not knowingly changed parameters. When I try to download something or play sims # I get a message that says your internet security setting preventing one or more files being opened.
Hi facions.
What browser do you use?
If you use Internet Explorer, you can optimize Internet Explorer and check if the problem persists. For more information, follow this link: How to optimize Internet Explorer
Hope the helps of information. Please post back and we do know.
Concerning
Joel S
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
I have a site published under a recent URL, I used for a personal site and the site displayed the URl needs to be removed, but I can't take it down because I do not know the account info that it is under please help! Thank you!
If it is hosted with Adobe Business Catalyst Adobe Support can help you.
If it is hosted elsewhere the only people who can help you with that is where it is hosted.
-
How can you save your illustration in Photoshop CC 2014 as PNG or JPEG file when it does not give the option?
Thank you for your time and help in advance.
Thanks for the reply. I have actually managed to do work. I had my work instead of 16 or 8-32 bit/channel value. Once I changed it to 16-bit/channel, he gave me the possibility to register under the registered name. Thanks again.
-
computer inheirerted of father and you want to restore the factory installed vista system but do not know the password of admin fathers
Hello
You should not have a password to reinstall Vista.
Microsoft prohibits any help given in these Forums for you help bypass or "crack" passwords lost or forgotten.
Here's information from Microsoft, explaining that the policy:
There are several methods to reinstall Vista.
There is no Windows Vista downloads available from Microsoft.
You can contact your computer manufacturer and ask them to send you a set of recovery disks.
They should do this for a small fee.
To reinstall Vista using their recovery disk/s, you start from the 1st recovery disk they provide and follow the manufacturer's instructions to reinstall:
You need to change the Boot order to make the DVD/CD drive 1st in the boot order:
How to change the Boot order in BIOS:
http://pcsupport.about.com/od/fixtheproblem/SS/bootorderchange.htm
And if you have never received a recovery disk when you bought your computer, there should be a recovery Partition on the hard drive to reinstall Vista on how you purchased your computer.
The recovery process can be started by pressing a particular combination of the key or keys at startup. (Power on / start)
Maybe it's F10, F11, Alt + F10, etc., depending on the manufacturer.
Ask them to the proper key sequence.
Some manufacturers have more available Vista recovery disks.
If this happens, you may need to try this instead:
You can also borrow and use a Microsoft Vista DVD, which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key on your computer / Laptop box determines what Edition is installed.
Other manufacturers recovery DVDs are should not be used for this purpose.
And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs
Here's how to do a clean install of Vista using a DVD of Vista from Microsoft:
"How to do a clean install and configure with a full Version of Vista '
http://www.Vistax64.com/tutorials/117366-clean-install-full-version-Vista.html
And once the operating system is installed, go to your computer manufacturer's website and get the latest drivers for your particular model or laptop computer.
And phone Activation may be necessary when you use the above installation method.
"How to activate Vista normally and by Activation of the phone '
http://www.Vistax64.com/tutorials/84488-activate-Vista-phone.html
See you soon.
-
Original title: administrator password
Hi, I'm Jays
I am running a windows vista, dell computer operating and so I would like to download a software on it, he asks an administrator password. The problem is that I don't have an admin password.
There is one account on this computer, and it is not password protected.
The entire message says:
You do not have the necessary permissions to use all the
features of the program you are about to run. You can run this
program under a different name or continue to run the program as the
current user.
[checkbox] Current user (Dell-Dell-PC)
[checked] Run the program as the following:
User name: administrator
Password: [BLANK]
If I click on the area of the current user, it will not let me continue
as I don't know the password, it displays a message when enter is pressed.
What's wrong?
Hello
1. don't you make changes on the computer before this problem?
2. I would like to confirm if you have found this quick installation of programs or by downloading programs? If you get this fast downloading then which browser do you use?If get you this error message during the installation of a program and then try to run or install the program with administrator privileges.
Steps to run the file with administrator privileges:
1. right click on the executable file of the program and select run as administrator
-
Original title: suddenly I can not play games or watch videos
I have Windows 7. Until a week ago, I could play games online and watch videos. So, when I tried to play a game, I get the message: 'We have detected that you do not have the plugin required to load the game' with a button that says 'Get Adobe Flash Player '. I install Macromedia Flash Player, but keep getting the same message. I've checked everything I can think of. Would appreciate help.
Hi Cindy,.
1. what browser you use on the computer?
2 has there been any changes made on the computer before the show?
Method 1:
If you try to play videos online and using Internet Explorer, I suggest you to see link and check if it helps:
The video problems with Internet Explorer
Method 2:
I suggest you to refer to the article and see if it helps:
The problems of games online using Internet Explorer
Method 3:
If the problem is not resolved, I suggest to uninstall the flash player and re - install:
http://Windows.Microsoft.com/en-us/Windows7/uninstall-or-change-a-program
Adobe Flash Player
http://get.Adobe.com/flashplayer/
Let us know if it helps.
-
I start the Firefox browser.
When the start page shows, I get just below the Google search box:
You are not on the latest version of Firefox. Update today to get the best of the Web!Not unusual, but when I go on the site to update it looking for a minute and then tells me I have the current version of the software.
If you use the www.google.com/firefox as homepage site that previous versions of Firefox 3 use as homepage you can ignore the message about not using the latest version of Firefox on this page.
Google seems to keep this page.
The current versions of Firefox 4 + is no longer use this website from Google as home page, but use the build-in on: home page as the home page.
Google assumes that you are using an older version of Firefox if you still visit this site, and warns you that you are using an older version of Firefox and invites you to update.
You can use a different page than the homepage as subject: House or www.google.com or www.google.com/ig (iGoogle). -
I've upgraded to the latest version of Firefox, but I always get a message on my home page that says "you are not on the latest version of Firefox. Update today to get the best of the Web! »
You can see this message under the Google search box on www.google.com/firefox which is the old default Firefox homepage. It seems that this page is no longer maintained by Google. You seem to have the latest version of Firefox.
If you want as the Google search page as homepage, change your homepage to Subject: House (a new version of the old homepage Google/Firefox update is now integrated into Firefox).
Also see-> https://support.mozilla.com/en-US/kb/Finding+your+Firefox+version
You can also see your version on the help > troubleshooting information displayIf this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.
Not related to your question, but...
You may need to update some plug-ins. Check your plug-ins and update if necessary:
- Plugin check-> http://www.mozilla.org/en-US/plugincheck/
- Adobe Shockwave for Director Netscape plug-in: install (or update) the Shockwave with Firefox plugin
- Adobe PDF plugin for Firefox and Netscape: Installation/update Adobe Reader in Firefox
- Shockwave Flash (Adobe Flash or Flash): updated Flash in Firefox
- Next generation Java plug-in for the Mozilla browser: install or update Java in Firefox
-
I downloaded Firefox restarted 8.0.1, and it ran. However, I always get a message on my firefox start page saying: "you are not on the latest version of Firefox. But when I go to help and then on Firefox, it says I'm under 8.0 and I'm updating. Why do I get mixed messages?
The old homepage www.google.com/firefox is obsolete and is no longer used. You can restore your home page for the new default value, so you will get the new homepage.
http://support.Mozilla.com/en-us/KB/how%20To%20set%20The%20home%20page#w_restore-the-default-home-page
Click on the button "Restore default". -
I want to change your security questions and do not know the old issues and thank you
I want to change your security questions and do not know the old issues and thank you
If you have an emergency email address you can use to reset your questions. This option of rescue should be on https://id.apple.com after connection and asked for security issues. If this is not leading to a solution, call Apple: Apple for support and service - Apple Support Contact
Be prepared to identify you as the account holder. They will ask you some things, I can't predict what, but usually the serial numbers or credit card.
-
Installation of window 7. ! With a problem! Help, please!
I installed Windows 7 on my computer. Its rebooted normally, but when he was loading files to the top of the color went all wrong...
As you do not see the weight...
Please help me!
- 512 GB of ram with a Flash ram Drive his 10
- Windows aero does not support "as the scan did not say very important hahah: D.
- Intel Inside Pentium 4
- Reference Dell computer WITH a disk emachine hard and things 'VERY OLD '.
- 149 with Flash Drive 500 GB hard drive
Help, please!
PS. Mr. need help! D:
I can run vista Basic that lol
I didn't mean that you cannot run Windows 7. I have run on systems with 512 MB of ram. It will work, but will slip. It will be the same for Vista. I recommend that stick you with Xp until you are able to upgrade your ram.
-
* Title *.
Updated photo galleryOn the Windows Photo Gallery, I get the following message: Photo Gallery can't open this photo or video. This file format is not supported or you do not have the photo gallery was last updated. I tried to download a site to print it and the download is finished, and then I got this message when I tried to open it.
I'm having the same problem with a photo that is in a jpg format... I have no trouble to watch the other jpg files. The only difference is that I bought this photo and he was sent as an attachment in an email, but the name of the file ends with .jpg, so I guess it's a jpg...
============================
You can save the file .jpg on your desktop?If you can... try to open it in Windows Paint and re - save as a jpg.
Windows Vista-
Open Paint
http://Windows.Microsoft.com/en-us/Windows-Vista/open-Paint John Inzer - MS - MVP - digital media experience
Maybe you are looking for
-
New subfolder does not display the unread messages in the left pane.
I created a filter for messages on the mail server. It places the messages to a specific e-mail address in a folder on the IMAP server. Yet, when Thunderbird is opened, it does not show in the pane on the left in bold all new messages in this folder,
-
Gadgets don't be loading not on the homepage igoogle with FF 7 or 8 but works on Chrome and IE
I have Win XP and running 7 FF. Yesterday, my igoogle homepage leave loading all the gadgets, but it works fine on Chrome and IE. I checked the forums and tried all suggestions regarding extensions and add it. Today, I downloaded 8 FF, but it does no
-
Hi, thanks for your response. I am a logic circuit TTL with Multisim and Ultiboard design. For noise problems, I need to place bypass capacitors each Vcc and GND pins for each lately but since those pins are hidden in Multisim, I do not know how?
-
How to calculate the overall RMS of a linear spectrum?
It is a calculation of post data capture, so it should be no big deal, but I can't do things. I have a linear spectrum of the 16 250 line. I want the overall RMS so that the frequencies. This means take each value of y for each point and square it
-
I tried to remove avg after getting through windstream.com anti-virus, it said that I had to remove avg; It will not now leave, I have no protection! gives error to reinstall or remove.