DataGrid problem - code

Hi,
This does not work, any help appreciated. The function
returns true and if I break within the function the array has the
required data.
Thanks,
Paul

Oops, should have been posted in the ActionScript forum -
sorry.
Paul

Similar Messages

  • Flex datagrid problem - $20 reward

    My Datagrids don't seem to work as I would expect.
    The biggest issue is that resizing column seems to not be
    very intuitive, grabbing directly on the dividing line resizes the
    parent SizeableTitleWindow which may actually shrink the table with
    the window, if I grab to the side of the line, but still with the
    resize cursor, it seems to resize most of the time like expected,
    but i need it to work like expected for people without training
    them to grab to the side.
    It also seems that if I resize the parent SizeableTitleWindow
    and it forces the datagrid to shrink smaller than the datagrid
    'wants' to be it causes a white 'box' to hang out the side and
    bottom of the SizeableTitleWindow the size it wants to be, this
    also happens if I scroll the grid with my mousewheel without
    resizing, this looks bad whe I try to show my client what I have
    built.
    I will pay $10, via paypal, to the first person that provides
    a usable solution to each of these problems.

    Do to confidentiality I can't give the actual code/structure,
    so I created a simple recreation and in the process found the white
    box only happens when it has an itemrenderer in a column, but
    unfortunately it is needed that way so I still need a fix. I did a
    screen capture to demo both problems.
    demo:
    http://www.omnibizsolutions.com/DataGrid/DataGrid.html
    code:
    http://www.omnibizsolutions.com/DataGridCode.rar

  • Electronic signature - I am not able to sign it, it appears "cryptoghrapy problem code error 13" ?

    Last week I was able to sign documents electronically. I got the version Adobe Distiller 9. My electronic signature is linked to a FIS certificate issued by Exostar. This is a corporate FIS certificate, work for Rolls Royce.
    Everytime that I am going to sign it appears "cryptoghrapy problem code error 13".
    I have no clue what is wrong.  Any suggestion.
    Thanks and regards,
    Lucas

    [discussion moved to Creating, Editing & Exporting PDFs forum]

  • Base Table for problem code in Cs_incidents_all_b

    hi
    in cs_incidents_all_b we have problem_code. the does not contain any data ... we have any tl table for problem code i have cssr_prob_code_mapping_detail but if i query this
    SELECT  dra.repair_number,
      items.description item_desc,
      prob.problem_code,
      fndl.meaning flow_status_name,
      inc.summary,
      nvl(cp.instance_number,'Not availble') ib_instance_number
    FROM csd_repairs dra,
      csd_repair_types_tl drtt,
      cs_incidents_all_b sr,
      csi_item_instances cp,
      fnd_lookups fndl,
      csd_flow_statuses_b fsb,
      mtl_system_items_kfv items,
      mtl_units_of_measure_tl uom,
      jtf_rs_resource_extns_tl rstl,
      jtf_rs_groups_tl rgtl,
      fnd_lookups plkup,
      cs_incidents_all_tl inc,
      cs_sr_prob_code_mapping_detail prob,
      cs_incident_types_b ty
    WHERE dra.repair_type_id       = drtt.repair_type_id
    AND drtt.language              = userenv('LANG')
    AND dra.repair_mode            = 'WIP'
    AND dra.incident_id            = sr.incident_id
    AND dra.CUSTOMER_PRODUCT_ID    = cp.INSTANCE_ID (+)
    AND dra.flow_status_id         = fsb.flow_status_id
    AND fsb.flow_status_code       = fndl.lookup_code
    AND fndl.lookup_type           = 'CSD_REPAIR_FLOW_STATUS'
    AND dra.inventory_item_id      = items.inventory_item_id
    AND dra.unit_of_measure        = uom.uom_code
    AND uom.language               = userenv('LANG')
    AND dra.resource_id            = rstl.resource_id (+)
    AND rstl.category (+)          = 'EMPLOYEE'
    AND rstl.language (+)          = userenv('LANG')
    AND dra.owning_organization_id = rgtl.group_id (+)
    AND rgtl.language (+)          = userenv('LANG')
    AND dra.ro_priority_code       = plkup.lookup_code(+)
    AND plkup.lookup_type(+)       = 'CSD_RO_PRIORITY'
    AND items.organization_id      = cs_std.get_item_valdn_orgzn_id
    AND inc.incident_id            =dra.incident_id
    and ty.incident_type_id=sr.incident_type_id
    and prob.incident_type_id=ty.incident_type_id
    AND fndl.meaning in('Open')
    order by dra.repair_numbereach diffrent problem codes for same repair number here i am want records relevant to Depot Repair

    In 11.5.9, the problem and resolution codes are stored in FND_LOOKUP_VALUES table with lookup type as 'REQUEST_PROBLEM_CODE' and 'REQUEST_RESOLUTION_CODE'. I'm hoping you could still use these tables to find problem codes, even if you were on 11.5.10 or R12.
    Join would be something like:
    WHERE fnd_lookup_values.lookup_type = 'REQUEST_PROBLEM_CODE'
    AND fnd_lookup_values.problem_code = cs_incidents_all_b.problem_code
    Regarding restricting the query for Depot Repair service requests, you need to restrict by the the incident_type_id for this type of SRs (like id for Depot incident type is 10003 for us).
    HTH
    Alka

  • Update installation Problems: Code U44M1P7 in Extension Manger 6.0.4 and Illustrator and PS CS6

    Hello,
    After the installation of several updates I find several errors in the error log:
    " Update installation Problems: Code U44M1P7 in Extension Manger 6.0.4 and Illustrator and PS CS6"
    I use a Mac Book Pro with Retina and MAC OSX 10.7.5.
    What is the problem and how can I solve it?
    Best regards
    Frank

    Follow the instruction given at the following link:
    http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html

  • Microsoft RemoteFX Graphics Device - WDDM - Windows has stopped this device becuse it has reported problems (code 43)

    I have a workstation with following configurations:
    Display adapter NVIDIA Quadra K4000
    OS: Windows Server 2012 Standard (64 bit)
    Hyper-V virtual GPU: NVIDIA K4000
    Hyper-V VM 1: Windows 8 Enterprise 32 bit
    Hyper-V VM 2: Windows 8.1 Enterprise 64 bit
    Both the 2 VMs above has the RemoteFX video adapter added and are supposed to have RemoteFX display working.
    However it only works in the VM 1 (Windows 8). In the VM 2 (Windows 8.1) the display adapter (Microsoft RemoteFX Graphics Device - WDDM) is reported "Windows has stopped this device because it has reported problems (Code 43)"
    Anyone ever experienced a similar issue?
    Much appreciated :)
     

    Hi leon,
    I am currently standing by for an update from you and would like to know how things are going on your end. Should you have any questions or concerns with the
    suggestions I provided, please don't hesitate to let me know.
    Regards,
    Kelvin hsu
    TechNet Community Support

  • Object Code Short Text,Cause Code Short text and Problem Code Short Text..?

    Dear All,
    can any one help me in finding of Object Part Code Short text,Problem Code short text and Cause code short text fields....in which table it will be storing/function module to get this...?
    Thankx in Advance....

    hi,
    you want for which object??
    all the short text stored in the text table like
    T001t ( it starts with T and ends with T )
    cheers,
    sasi

  • ItemRenderer and DataGrid Problem

    Hi guys.
    I'm on creating a small app that simply pulls information
    from an XML file, displays it in a DataGrid then allows the user to
    filter and search it. First things first though; I'll explain what
    I have so far then detail my problem.
    I get the XML file via HTTPService then place the results in
    a Bindable ArrayCollection. When the Datagrid's source is set to
    that ArrayCollection it works fine. What I am initially trying to
    do is use an itemRenderer in one of the columns that displays lines
    of text depending on the values of the current row.
    For example, the structure of my XML file is (roughly):
    <content>
    <name>Name1</name>
    <description>Description Goes Here</description>
    <audience1>yes</audience1>
    <audience2>no</audience2>
    <audience3>yes</audience3>
    </content>
    So what I am trying to do is group the audiences that each
    piece of "content" has a yes value to. So under the "Audiences"
    column in the datagrid, the above content would say
    "Audience1
    Audience3"
    as it has a yes value in between audience 1 and 3. I've tried
    writing very basic code within the itemRenderer whereby I override
    the public function set data and do some checks there but it never
    seems to work right. I've tried using Arrays within that to store
    the current audiences but I clearly haven't got the right format
    for that.
    There must be a more efficient way of doing this. I'm fairly
    new to both Flex and AS3 (been using AS2 quite a while now) but I
    have a feeling there would be some way to store each row's audience
    list in an array/object/model so I can refer to it later (I'm
    intending to filter these results by audience type later so I think
    I will HAVE to do it this way eventually). I've read quite a few
    tutorials and guides but I honestly don't know where to look
    anymore, none of them seem to cover this specific problem.
    I hope this makes sense to you guys and any guidance you
    could give me would be greatly appreciated.
    Cheers

    LabelFunction produces a display-only column.
    To filter, you will need to use the underlying data.
    Another solution to consider is to create a custom item
    class. Loop over the xmllist and build instances of the class,
    populating the properties from the xml.
    have a property who's value is calculated based on the
    audience properties values. Since it is a "real" data property in
    each item, you can filter on it directly.
    Tracy

  • Datagrid problem

    hi all
    how r u
    i have a small problem in datagrid and hope any one help me
    i created a datagrid that each row can has its own color i used this code
    package Models
          import flash.display.Sprite;
          import mx.collections.ArrayCollection;
          import mx.controls.DataGrid; 
         public class myDataGrid extends DataGrid 
             private var _coloredRowIndex:int; 
             private var _rowColorCode:uint; 
             private var _setColorRowIndex:Boolean;  
             public function set setColorRowIndex(b:Boolean):void 
                 _setColorRowIndex = b;            
             public function get setColorRowIndex():Boolean 
                 return _setColorRowIndex; 
             public function set coloredRowIndex(i:int):void 
                 _coloredRowIndex = i; 
             public function get coloredRowIndex():int 
                 return _coloredRowIndex; 
             public function set rowColorCode(colorValue:uint):void 
                 _rowColorCode = colorValue; 
             public function get rowColorCode():uint 
                 return _rowColorCode; 
             override protected function drawRowBackground(s:Sprite,rowIndex:int,y:Number,height:Number,color:uint,dataIndex:int):void 
                try{
                         if(setColorRowIndex == true) 
                     if(rowIndex == coloredRowIndex) 
                         color = rowColorCode; 
                         super.drawRowBackground(s,rowIndex,y,height,color,dataIndex); 
                     else 
                         super.drawRowBackground(s,rowIndex,y,height,color,dataIndex); 
                 else 
                     if((dataProvider as ArrayCollection).getItemAt(rowIndex,0).status==0) 
                         color = 0xffffff; 
                         super.drawRowBackground(s,rowIndex,y,height,color,dataIndex); 
                     else if((dataProvider as ArrayCollection).getItemAt(rowIndex,0).status==1) 
                         color = 0xdf8b41; 
                         super.drawRowBackground(s,rowIndex,y,height,color,dataIndex); 
                     else if((dataProvider as ArrayCollection).getItemAt(rowIndex,0).status==2) 
                         color = 0xa9a79f; 
                         super.drawRowBackground(s,rowIndex,y,height,color,dataIndex); 
                         else if((dataProvider as ArrayCollection).getItemAt(rowIndex,0).status==3) 
                         color = 0x00ff00;
                         super.drawRowBackground(s,rowIndex,y,height,color,dataIndex); 
                     else 
                         super.drawRowBackground(s,rowIndex,y,height,color,dataIndex); 
                catch(err:Error){
    it works very good but the problem is :
    when i scroll the datagrid vertically the rows don't update its color, i mean the the rows scrolled but the colors don't
    any help?
    thanx alot

    Ok, I'm back. Try this out:
    package
        import flash.display.Graphics;
        import flash.display.Shape;
        import flash.display.Sprite;
        import mx.controls.DataGrid;
        import mx.core.FlexShape;
        public class CustomDG extends DataGrid
            private var _strongColor:uint = 0x9BCE49;
            private var _fadedColor:uint = 0xC9FDC8;
            override protected function drawRowBackground(s:Sprite,
                                                          rowIndex:int,
                                                          y:Number,
                                                          height:Number,
                                                          color:uint,
                                                          dataIndex:int):void 
                var background:Shape;
                if (rowIndex < s.numChildren)
                    background = Shape(s.getChildAt(rowIndex));
                else
                    background = new FlexShape();
                    background.name = "background";
                    s.addChild(background);
                background.y = y;
                color == 0xFFFFFF ? color = _fadedColor : color = _strongColor;
                var graphics:Graphics = background.graphics;
                graphics.clear();
                graphics.beginFill(color);
                graphics.drawRect(0, 0, width, height);
                graphics.endFill();
    I don't really have time to play around with the alpha part and make it work with a single color that is once faded and once not. I chose to play around with 2 different colors ( a strong version and a light version ). Obviously, you can play around with the alpha too, you just need to understand the mechanism behind the updating.
    With best regards,
    Barna Biro
    Blog: http://blog.wisebisoft.com
    EDIT: I think that it's even better to use 2 different colors because this way, you have even more control over the appearance. You are not limited this way to a single color and it's faded version. You could combine 2 totally different colors ( like blue and red ).

  • Rich:DataGrid Problem

    Hi guys,
    i have a problem with the rich:datagrid. The page which have the datagrid starts with a search method by name. ( query includes like function ) Search components are in h:form. So the related names after the search, will be ordered on the datagrid. Each row has 2 textbox and one a4j:commandButton. When the people arranged on the rows, the inputboxes filled with the values. The values are taken from the db. The problem is, for example grid has 2 rows, when i want to change the first row's values the change can not be applied, i write the values of inputboxes on the console and default values comes which are filled when the datagrid is set. But on the second row i can change the values.
    My managed bean scope is session. I opened a a4j:form inside the rich:datagrid, the components (two inputboxes and a4j:commandButton) are stored in this form.
    I m waiting your answers, thanks in advance.

    Thanks Balusc
    Thank you very much.
    I was geting this problem last 5 day now its resovled.
    Only few change in ur code like below code
    CityIDLookup[] city1 = (CityIDLookup[])cda.getCityList();
                   selectItems = new ArrayList<SelectItem>();
                   for (int i=0;i<city1.length;i++) {
                       selectItems.add(new SelectItem(city1.getName()));
                   System.out.println("i "+i+" name is "+selectItems.get(i));

  • Using xml with datagrid - problem with element attributes ...

    Hi,
    When i try to set the datafield in a DataGridColumn to an
    attribute, ex.: @isPermaLink - the value is not printet in the
    datagrid?
    My code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="feedRequest.send()" layout="absolute"
    backgroundGradientColors="[#808080, #c0c0c0]">
    <mx:HTTPService id="feedRequest" url="
    http://kristianthrane.dk/feed"
    useProxy="false" />
    <mx:Panel x="10" y="10" width="475"
    title="{feedRequest.lastResult.rss.channel.title}" id="panel1"
    height="531">
    <mx:DataGrid id="dgPosts" x="20" y="20" width="100%"
    dataProvider="{feedRequest.lastResult.rss.channel.item.guid}"
    height="100%">
    <mx:columns>
    <mx:DataGridColumn headerText="Lande"
    dataField="@isPermaLink" />
    </mx:columns>
    </mx:DataGrid>
    </mx:Panel>
    </mx:Application>
    I hope someone has a tip ....
    Best regards,
    Kristian Thrane

    Hi Kristian,
    I'm with some problems, a bit alike yours, but from what I've seen, I would recomend you to see type errors...does the atribute "isPermaLink" inside the "guid" tag, or "title" tag?
    My problem is the opposite of what you have... I can place tag attributes in a datagrid, but I can't put in the same Datagrid the tag value. But I have no choice since the feed comes from a public webservice.
    My feed is:
    <search ver="3.0">
    <loc id="BRXX1094" type="1">Aveiro, Brazil</loc>
    <loc id="POXX0006" type="1">Aveiro, Portugal</loc>
    </search>
    <mx:DataGrid x="10" y="53" width="365" id="dgLocation" dataProvider="{wSearch.lastResult.loc}" itemClick="callService(event);">
    <mx:columns>
           <mx:DataGridColumn headerText="Localidade" dataField="loc"/> //This doesn't work
           <mx:DataGridColumn headerText="Referência" dataField="@id"/> //This does
    </mx:columns>
    </mx:DataGrid>
    Hope it give you any ideas.
    Beste regards
    Leonel

  • Custom DataGrid problems with Comboboxes

    I am using a custom datagrid with comboboxes and
    colorpickers. I found this code on the web and adapted it to work
    with my code. The only problem is that if you pull down a combobox
    and then click somewhere outside without selecting anything, it
    seems to erase the data in the dataprovider arraycollection and so
    'value' in the set data method becomes null.

    This is not a bug if I understand you properly. I believe most people would wish anything which is obtained via the tv to be backed up, which is why the content is transferred. If you want it to remain available on the tv you will need to sync it back to it.

  • Populate datagrid problem

    Hi there
    I am having problems populating my datagrid with xml data
    returned from an instance of a class.
    Here is the xml data that is returned from the instance
    <summaryScreen>
    <exam>
    <type>GCE</type>
    <qualification>Extended Project
    Qualification</qualification>
    <code>1991</code>
    <students>12</students>
    <marked>4</marked>
    <submitted>8</submitted>
    <series>november</series>
    </exam>
    <exam>
    <type>GCE</type>
    <code>1991</code>
    <qualification>Extended Project Qualification -
    TH</qualification>
    <students>14</students>
    <marked>3</marked>
    <submitted>4</submitted>
    <series>september</series>
    </exam>
    <exam/>
    </summaryScreen>
    And here is my code for the datagrid
    <mx:DataGrid
    dataProvider="{_summaryScreenData.getXMLData()}">
    <mx:columns>
    <mx:DataGridColumn headerText="Type" dataField="type"
    width="60" />
    <mx:DataGridColumn headerText="Qualification"
    dataField="qualification" width="140"/>
    <mx:DataGridColumn headerText="Code" dataField="code"
    width="140" />
    <mx:DataGridColumn headerText="Students"
    dataField="students" width="70" />
    <mx:DataGridColumn headerText="Marked" dataField="marked"
    width="70" />
    <mx:DataGridColumn headerText="Submitted"
    dataField="submitted" width="90"/>
    <mx:DataGridColumn headerText="Series" dataField="series"
    width="70"/>
    <mx:DataGridColumn headerText="Days Left"
    dataField="daysLeft"/>
    </mx:columns>
    </mx:DataGrid>
    Can anyone point me in the right direction to get this data
    into the datagrid?
    Thanks!

    Hi,
    please look at your XML there is a extra and wrong
    "<exam/>" closing tag.
    still you have a problem. Plz look at the code which I tried
    it worked fine.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Model id="xyz">
    <summaryScreen>
    <exam>
    <type>GCE</type>
    <qualification>Extended Project
    Qualification</qualification>
    <code>1991</code>
    <students>12</students>
    <marked>4</marked>
    <submitted>8</submitted>
    <series>november</series>
    </exam>
    <exam>
    <type>GCE</type>
    <code>1991</code>
    <qualification>Extended Project Qualification -
    TH</qualification>
    <students>14</students>
    <marked>3</marked>
    <submitted>4</submitted>
    <series>september</series>
    </exam>
    </summaryScreen>
    </mx:Model>
    <mx:Script>
    <![CDATA[
    import mx.utils.ArrayUtil;
    ]]>
    </mx:Script>
    <mx:DataGrid
    dataProvider="{mx.utils.ArrayUtil.toArray(xyz.exam)}">
    <mx:columns>
    <mx:DataGridColumn headerText="Type" dataField="type"
    width="60" />
    <mx:DataGridColumn headerText="Qualification"
    dataField="qualification" width="140"/>
    <mx:DataGridColumn headerText="Code" dataField="code"
    width="140" />
    <mx:DataGridColumn headerText="Students"
    dataField="students" width="70" />
    <mx:DataGridColumn headerText="Marked" dataField="marked"
    width="70" />
    <mx:DataGridColumn headerText="Submitted"
    dataField="submitted" width="90"/>
    <mx:DataGridColumn headerText="Series" dataField="series"
    width="70"/>
    <mx:DataGridColumn headerText="Days Left"
    dataField="daysLeft"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>

  • DVD drive not recognized because of a registry problem (Code 19). HP Pavilion dv6500

    HP Pavilion dv6500, upgraded several years ago to Windows 7 32 bit. In the past few days I have noticed that the DVD/CD-ROM drive does not appear on My computer/ Windows Explorer. I also incidentally noted that my program "HP Total Care Advisor" no longer works: "HP Advisor has stopped working" is the error message I get when I double click the desktop Icon.  I have made no changes to the computer, nor have I installed any new software shortly before I noticed these problems.
    I went through troubleshooting for most of today. The DVD drive does appear in BIOS and in the Device Manager. I have uninstalled and reinstalled the device and it's drivers. I believe the correct drivers are present but cannot be installed. I believe the problem is expressed in the following error message which I have obtained: "Windows cannot start this hardware device because it's configuration information (in the registry) is incomplete or damaged (code 19)."
    When I saw this I thought a restore of Windows would do the trick. I went back to Feb. 1, 2012 but that did not help. Then I reversed that restore and went back to Jan 25, 2012. That did not help, so I reversed that restore and gave up on restore.
    I have no experience in the registry, so if the solution is to make changes in the registry, I will need very specific instructions.
    Thank you,
    Allen Worrall

    I did some further reading in the forums and tried a few things What fixed my problem was reinstalling iTunes because they just updated last week and that is when my problem started. After i reinstalled through the control panel (repair install) it worked again,

  • Fresco Logic xHC1 (USB3) Root Hub driver problem Code 31

    I  have the Ideapad S206 Windows 7 32 bit and have a driver problem which I believe is due to a Windows update at sometime. I get the following statement :-
     "The device is not working properly because Windows cannot load drivers for this device (Code 31)"
    Can someone very kindly please advise me how to sort this out. Apparently uninstalling the driver and then reinstalling does not work.
    Jezza

    Hi
    Welcome To Lenovo Community
    We are really sorry to hear about the issue you are facing,  
     Please try updating the following to verify the issue is fixed
    Fresco USB 3.0 Driver Win7     USB3.0 Driver (Fresco) Win8
    Do give this a try and let us know  
    Hope This Helps
    Cheers!!!
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    How to send a private message? --> Check out this article.
                            English Community   Deutsche Community   Comunidad en Español

Maybe you are looking for