How to get the ValueObject that represents a row in a DataGrid, attached screenshot
Hello
I'm displaying the data in the DataGrid control by using the dataField and dataProvider as ArrayCollection collection attributes.
It's my value object representing a row of DataGrid
public class User
{
public var UName:String;
public var Pwd:String;
}
On the clcik on the line in the DataGrid control, I am able to go read the elements of the cell using DatagridId.selectedItem.UName.
Is it possible to get all of the user object that represents this line.
I'm sorry, that if the issue is not comprehensible, here basically I want to get the whole VO of this line in the DataGrid control.
Thanks in advnace
Hi Kiran,
Try to use something like below...
var userVO: User = DatagridId.selectedItem as a user;
Thank you
Jean Claude
Tags: Flex
Similar Questions
-
How to change the background color of some rows in a Datagrid?
How to change the background color of some rows in a Datagrid?Hee is an excellent example:
http://www.CFLEX.NET/showfiledetails.cfm?channelId=1&object=file&ObjectID=487Tracy
-
How to get the message that API to a new version were supported once it is released?
Hi all
For my work, I do my Intigration of based on the API of the latest version. So I need to be reminded, when a new version is available.
How could I get the message that a new version APIs were supported as soon as it is released?
Thank you
Biao
All the ads around API will be done through Code it. Going forward, if/when a new API (or the version of the existing API) is released in the form of GA, it will be announced the Code it along with appropriate documentation.
-
Hello
I need to get the object that is anchored by a text search result. It can be an image, textframe, group objects...
It's my code...
app.findTextPreferences = NothingEnum.nothing;
app.findTextPreferences.findWhat = "< FFFC > ';
var myResults = app.activeDocument.findText ();
var currentParagrapfNum = - 1;
for (var n = 0; n < myResults.length; n ++) {}
var currentResult = myResults [n];
currentParagrapfNum = currentResult.paragraphs [0] .index;
var currentAnchoredObject =? ;
currentAnchoredObject.anchoredObjectSettings.horizontalReferencePoint = AnchoredRelativeTo.TEXT_FRAME;
currentAnchoredObject.anchoredObjectSettings.verticalReferencePoint = VerticallyRelativeTo.LINE_BASELINE
}
Can someone help me please?
Thanx
Yes, true, ^ anchor of finds, but they are of type character. What you need is
myResults[n].pageItems[0].anchoredObjectSettings.horizontalReferencePoint = AnchoredRelativeTo.TEXT_FRAME;
Peter
-
How to get the text that is centered vertically in the box of Li
I update the website of our company in another area of the system is why you will see a tf in the web address, that I am about to give.
http://www.essentialfinance.NET/TF/products/reconciling/accruals_manager.asp
Now, the problem I have is that the options in the boxes are aligned at the top.
I had a problem understand quite how to get these boxes to work so that they show when hovering etc, but eventually came through a tutorial that appears to create a class of nav hanging to the ul.
I tried to change all ul.nav, li ul.nav, ul.nav one is regarding the text vertical alignment centered but without success.
The css file is here:
http://www.essentialfinance.NET/TF/main.CSS
I put this link because someone may be able to choose my faults.
I just put a link to # (not going anywhere) to get the < a > code initialized...
In fact - don't worry about the color scheme... it's only temporary to test the feature.
And I would not wander anywhere else on the site - it's a shambles that is why I am interested in it.
Can someone please advise? Thank you very much in advance for any comments.
Terry
For the ul.nav one rule, delete the height attribute. Then add the padding attribute in this same area. The padding will give you the height of the button you are looking for without setting the height, which is the typical way to do it. About 10 to 15px padding should do the trick.
-
Not sure how to get the result that I need.
Hi all
I'm not a very good programmer, but I'm learning so please bear with me.
My problem is that I need to be able to create a page that we can imput two dates and get all the items in our database which are equal or between imputted dates and be sent to the page.
The part of sql is not my problem, but I'm not sure on how to create the page with in the date boxes.
As it is now I have created the page, but it is retreving all elements of my table and comes it a grid of smiple and the output how many entries table for this is manageable.
So, if someone can help me or point me in the right direction that would be great.
Thnaks
Pat
Basis of a form.
Basis of a SQL clause
SELECT aField,bField,cField FROM aTable WHERE aDateField BETWEEN AND There is much for you to learn and understand to make a function and a business page. But you should get at least close to return results.
-
E4X: How to get the items that contain a string pattern in the name of the node?
Is there a way to retrieve the children of an XMLList where the name of the node of a child contains a template string?
For example:
account <>
< XblahX / >
< cow / >
< YblahY / >
< / recording >
How to get items in folder which has a node name that contains the string "blah"?
var rec: XML =
;var r: RegExp = / blah /;
var elems:XMLList = rec.children (). (localName () *.search (r) >-1);
trace (elems. ToXmlString()) -
How to get the game that require a resolution of 1024 x 768 to work on my book?
Hello
How can I get the games requiring work of resolution 1024 x 768 on booklet?
Any solution for this?Thank you
Hello
I assume you mean on the Libretto W100.
The device supports a 16:9 screen with a resolution of 1024 x 600.
If unfortunately 1024 x 768 is not supported -
How to get the message that I want to display only.
Hello
I use in my main power system which is connected with different instruments as a data logger, GSM, GPS...
In my main vi all the Subvi electrical system, gsm etc. are interconnected.
I would like to make a few changes,
for example when I run my vi It should seems to jump to the top of msg as of course do your power supply works.
and if assume that its not on then display the pop up msg that your power supply is turned off, then system must be turned off, means no need to continue the operation.
Here I am attaching my vi, I did a logic in which concerns, in that when I run my main vi I get msg to make sure that the power supply works.
but when the power supply is off, and then I got error msg like your power supply is turned off and after clicking ok error vi is open I don't want, that all the I have attached here.
I want only msg that your power supply is turned off and then the system must be disabled, nothing more.
you please guide me that this King of the changes that I needed to do this.
Thank you much in advance.
HIII, I thank you for your time.
Finally, I got solved.i need to make only small cahnges in this stop button in any loop.here as an attachment, I put this solution.
-
How to get the Partitions that have become readers return Partitions?
In XP SP3, two of my drive C: (9 MB FAT & 3.63 GB FAT32) partitions became readers H and I in my computer and generates low disk space warnings, but seem to be ok in computer management/disk management. How can I get these partitions on drive C and eliminating H and I readers that have emerged?
Hello
These drive letter are fixed by dell to store files and data from the system. Made registry changes the drive letter to visible on the computer. In order to make any change that we have to contact Dell technical support for assistance.
Contact Dell
http://en.community.Dell.com/support-forums/software-OS/f/3524.aspx
http://www.Dell.com/support/contents/us/en/19/category/contact-information?c=us&l=en&s=DHS&CS=19
Hope this information helps.
-
Hello everyone I pray pray pray! can someone help out me! My hard drive crashed on my lap top, fortunately I was still under warranty. so they sent the new hard drive but now I lost a TON of things. I made backup b4 thanksgiving. that includes my downloading disc for Photoshop. I have the one for MAC OS, but I have a PC. In any case how can I download this again without the disc. I have the serial numbers and the redemption code.
Thanks TMOJO
Downloads available:
- Suites and programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
- Acrobat: XI, X | 9,8 | 9 standard
- First Elements: 13 | 12 | 11, 10 | 9, 8, 7
- Photoshop Elements: 13 | 12 | 11, 10 | 9,8,7
- Lightroom: 5.7.1. 5 | 4 | 3
- Captivate: 8 | 7 | 6 | 5
- Contribute: CS5 | CS4, CS3
Download and installation help links Adobe
Help download and installation to Prodesigntools links can be found on the most linked pages. They are essential; especially steps 1, 2 and 3. If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".
-
Very frustrated, I can't speak to someone for this sort. Any help would be very appropriate.
We were given the link of our designers and it's just an upgrade and when I came to install it request the previous version serial No.. We have not all previous versions, we cannot go past this stage.
Is there a contact center that I can talk to?
Thank you
Amanda
Hi Sally,
I recommend you contact customer service regarding this issue.
Kind regards
Rahul Tyagi
-
How to get the value of the outputtext in javascript and send it to backing bean
Hi Experts ADF,
JDev Version 11.1.1.7.0
I have the following: the value of the outputtext must be treated in javascript and the serverlistener method has the same value. I founded this value returns a string that wshould see the mouseover NIJ.
Help, please. Thanks in advance.
< af:column sortProperty = "#{bindings." OrderProposalReadClient.hints.exceptions.name}.
filterable = "true" sortable = "true".
headerText = "#{suiviewBundle.EXCEPTIONS} '"
ID = "c16" >
< af:outputText value = "#{row.exceptions}" id = "ot32" clientComponent = "true" > "
< af:clientListener type = "mouseOver".
method = "customJsFunction" / >
< af:serverListener type = "mycustomserverEvent".
Method="#{pageFlowScope.ChangeOrderProposalBean.handleServerEvent}"/ >
< / af:outputText >
< / af:column >
JavaScript
< af:resource type = "javascript" >
var customJsFunction = function (event)
{
var exceptiondata = AdfPage.PAGE.findComponentByAbsoluteId ('ot32');
AdfCustomEvent.queue ();
Returns true;
}
< / af:resource >
BackingBean
public String handleServerEvent(EC ClientEvent)
{
Please let me know how to get the value that javascript code sends here.
Let's say javascript sends the value of outputtext as "001".
So, I have to check "001" in my list and return a value that appears on mouseover.
}
Kind regards
RoyHello, Roy.
To use the value on another component of the user interface, I shows an example:
-code of the page
shortDesc = "shortDesc" >
method = "customJsFunction" / >
-the javascript code
var customJsFunction = function (event)
{
var exceptiondata = event.getSource ().findComponent("ot32").getValue ();
AdfCustomEvent.queue (event.getSource (),
"mycustomserverEvent,"
{param1:exceptiondata},
(true);
Returns true;
}
-OutputTextCase11.java
public void handleServerEvent (EC ClientEvent)
{
String param = (String) ce.getParameters () .get ("param1");
RichOutputText outputText = (RichOutputText) ce.getComponent () .findComponent ("ot1");
outputText.setShortDesc (param);
outputText.setValue (param);
AdfFacesContext.getCurrentInstance () .addPartialTarget (outputText);
}
I hope this helps you.
RFH.
-
I installed FireFox 21.0 four times, and I always get the message that I need to update.
How to stop this nonsense?
MikeHello mike, please refer to the article according to How to set preferences that will not save (especially the part about the user.js file), that could also apply to your question...
-
I have the macbook pro (OS 10.6.8) and the iphone 6 s. The latest version of iTunes is 11.4. When it is connected to the MAC, I get the message that itunes must be upgraded. How to synchronize or import/export files(images/music)? Fact is need to update itunes?
Hi sonalnj,
I understand that you cannot synchronize your iPhone as iTunes is requested it must be updated. I can help you with that.
According to the technical specifications for a 6 s iPhone, you need a Mac running OS X v10.8.5 or later version with iTunes 12.3 or later. Because you are on OS X 10.6.8 your version of iTunes is up to date with this OS.
iPhone 6 s Tech Specs
http://www.Apple.com/iPhone-6s/specs/Now to fix that, you need to update your Mac OS X 10.8.5 Mountain Lion or OS X 10.11 El Capitan. If you want to go to the Mountain Lion, you can do it with the first link below. The cost will be $19.99 and a code will be delivered to you if you can download it via the Mac App Store. Once you have upgraded, be sure to make all software updates to go with him to get the latest version of iTunes.
OS X Lion mountain
http://www.Apple.com/shop/product/D6377Z/A/OS-x-mountain-lionNow the other option is to move to OS X 10.11 El Capitan, and is a free update that you can do right in the Mac App Store, if you meet the system requirements. Take a look at the following article for more details on how to do it.
Update of OS X El Capitan
https://support.Apple.com/en-us/HT201475Nice day!
Maybe you are looking for
-
Re: NB520 - buttons on the touchpad does not work after BIOS update
Got my NB520 yesterday and installed all windows updates, and then the BIOS updates proposed by the action center of Toshiba and after that the two touchpad buttons have stopped working. They did before. Any ideas whats happened, this is the update o
-
Recovery problem Satellite A200-1Y0
Hi all my 6 year old Satellite A200-1YO has been replaced by a newer model and I thought to wipe my A200 or reset to the factory settings... I don't have any drive and that I can remember I never had none. I went all reset by pressing F8 at startup,
-
Problems uninstallng unwanted programs
I have Win XP, service pack 3 and need to free up space, but almost all of my foreign programs won't uninstall when I go through the normal process of installation/uninstallation. Is it normal to have both that will not uninstall, or is it a Windows
-
Slow download on a single computer
I have 3 laptops. The first is a HP Pavilion since 2009. Secondly, one is a Toshiba satellite about 2 years. In third place is Lenovo around the age of 8 months. HP has been upgraded to windows 7 and Toshiba comes with windows 7. My internet package
-
BarcodeDetectorVisuals doesn't seem to work, what I am doing wrong.
Hello I followed the documentation contained in the: http://developer.blackberry.com/native/reference/cascades/bb__cascades__multimedia__barcodedetectorv... and also ensured that I have included the following images in my current directory, images/bb