Data binding to DataGrid problem

Hey guys, I have a quick question for you. I can not get my data appears in my DataGrid, and I probably do something stupid which is at the origin of the problem.

To quickly explain, I'm out my DB given in my file DBClass, then return of the DBClass as a DataProvider function. When I get the DataProvider to return, I create a table, push my DataProvider inside, and then link to my DataGrid using new ArrayCollection (array). It sounds like a big NUMBER to Exchange around the types of variables, but I've not found an easier way to do it. I find it funny that I cannot bind my DataGrid dataprovider to a typed variable dataprovider, but I suspect it's because it's a spark datagrid and a dataprovider of qnx. If there is a better way, please let me know cause all these types of data are confused the hell out of me.

In any case, here's the code:

DBClass.as:

var result:SQLResult = sqlStatement.getResult();
var dp:DataProvider = new DataProvider();
for each(var obj:Object in result.data) {
    if (obj != null) {
        dp.addItem({week:obj["week"], suHours:obj["su_end"], moHours:obj["mo_end"], tuHours:obj["tu_end"], weHours:obj["we_end"], thHours:obj["th_end"], frHours:obj["fr_end"], saHours:obj["sa_end"]});
    }
}
return dp;

I don't understand the SQL statement or enforcement because this part is fine. It's just the DP put in place.

viewHistory.mxml viewActivateHandler:

protected function view1_viewActivateHandler(event:FlexEvent):void
{
    var database:DBClass = new DBClass();

    var daHistory:Array = new Array();
    daHistory.push(database.getHistory(1));

    if(daHistory.length > 0)
        dgHistory.dataProvider = new ArrayCollection(daHistory);
}

getHistory (1) is back the DP from DBClass.as code listed above, the 1 is just a variable to determine what exactly to the back, so it is not related.

viewHistory.mxml DataGrid:


    
        
            ... some custom itemrenderers that take up a lot of space ...
            
            
            
            
            
            
            
        
    

I took out a couple of converters element custom in this last excerpt just to save space.

Is that all the columns are empty instead of display the data provided in the table. I made the debug to prove that the RFP returned records and daHistory's records before being put in the ArrayCollection collection and defined as the dataprovider, so I don't know where I'll lose my data or setting of something wrong.

Any help would be appreciated. As I said, all these types of data are a bit confusing, because it's a new language, I learn that I will. Thank you!

Solved mine once again! I feel like all I have to do is post something here and I find myself the answer soon after. It's not like I've been stuck on this since yesterday, but regardless, it works.

And to answer my question, Yes, I was going WAY out of how to get my data with too many data types.

I've simplified the get function in DBClass.as to just return a table:

Tags: BlackBerry Developers

Similar Questions

  • Data binding does not seem to work

    I have a report with 3 queries - a mother and two children. (In fact, there are more than 2 children, but only 2 of them are at the origin of the problem.) The current version of the report uses frames/repetition, overlapping frames and fields for each request of the child, which makes it almost impossible to change - and I need to change.

    I wrote a query that joins the two children in a single request. It works in SQL * more when I add the where clause that expected be added by data - links, but when I run the report I get the same results as when I run it in SQL * Plus without the data where a clause link. So it seems data links do not work for this game of parent/child of queries.

    No idea why? (Reports 6i)

    It is certain that data binding is the problem. I did the new 'child' an independent query, adding where clause to the query and deletion of data links between the parent and the child, and that is work - at least for the case where the parent returns a single record. I really need that data links work well, then re - asks the child for each parent. On the other hand, report editor showed a strange icon on the request of the child. It seemed to me the icon of data link with a slash through it--and he disappeared when I deleted the data bindings, so I'm sure that the icon showed that data links were not working. He didn't explain why.

    Published by: user6931915 on December 14, 2010 11:39

    Hello

    You earn this icon? : http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/whatare/dmobj/qa_nonlnkqry.htm

    Concerning

  • Problems with the removal of the data binding Flex to use Air 14

    Hello

    I was wondering if anyone had an optimal solution to replace the Flex Air 14 data binding classes. I can't merge the Flex and Air SDKS more for all liaison managers need to be replaced. Everybody runs into this problem yet? Automated link generation and manipulation was the best feature of Flex and now that it's broken it creates huge problems for me.

    It is Air of mobile and desktop applications. They still build everything simply no work of event management.

    See you soon,.

    Pete

    I forgot that I myself have solved last Dec. So basically from what I can tell that the precompiler is either no [Bindable] conversions so you must manually create the getters and setters for your model when it changes. I hope this helps anyone who may run into the same problem. There is literally no documentation on this wheres.

    i.e.

    [Bindable]

    public var username: String;

    becomes

    private var _username: String;

    [Bindable (= "propertyChange" event)]

    public function get username (): String

    {

    return this ._serviceState;

    }

    public function set username(value:String):void

    {

    var oldValue:Object = this ._username;

    If (oldValue! == value)

    {

    This ._username = value;

    If (this.hasEventListener ("propertyChange"))

    this.dispatchEvent (mx.events.PropertyChangeEvent.createUpdateEvent (Thi, "username", oldValue, value));

    }

    }

    You must also make sure that what ever class contains this property implements IEventDispatcher and has the following functions:

    // Implementation of IEventDispatcher
    //
    private var _bindingEventDispatcher:flash.events.EventDispatcher =.
    new flash.events.EventDispatcher (flash.events.IEventDispatcher (this));
    /**
    * @inheritDoc
    */
    public function addEventListener (type: String, listener: Function,)
    useCapture:Boolean = false,
    priority: int = 0,.
    weakRef:Boolean = false): void
    {
    _bindingEventDispatcher.addEventListener (type, listener, useCapture,
    priority, weakRef);
    }
    /**
    * @inheritDoc
    */
    public function dispatchEvent (event:flash.events.Event): Boolean
    {
    Return _bindingEventDispatcher.dispatchEvent (event);
    }
    /**
    * @inheritDoc
    */
    public void hasEventListener(type:String):Boolean
    {
    Return _bindingEventDispatcher.hasEventListener (type);
    }
    /**
    * @inheritDoc
    */
    public void removeEventListener (type: String,)
    Listener: Function,
    useCapture:Boolean = false): void
    {
    _bindingEventDispatcher.removeEventListener (type, listener, useCapture);
    }
    /**
    * @inheritDoc
    */
    public void willTrigger(type:String):Boolean
    {
    Return _bindingEventDispatcher.willTrigger (type);
    }
  • refresh of data binding problem

    Hello

    I am a beginner in Flex, and I have a problem with data binding. I have this little program:

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "layout ="absolute"> "
    < mx:Script >
    <! [CDATA]
    [Bindable] public var value: String;
    []] >
    < / mx:Script >

    < mx:ViewStack id = "mainViewStack" width = "100%" height = "100%" >
    < mx:Panel id = "panel1" >
    < mx:TextInput id = "text1" / >
    < mx:Button label = "A" click = "value = 'test'; mainViewStack.selectedIndex = 1; "/ >
    < / mx:Panel >
    < mx:Panel id = "panel2" >
    < mx:TextInput id = "text2" text = "{value}" / >
    < mx:Button label = "B" click = "mainViewStack.selectedIndex = 0; "/ >
    < / mx:Panel >
    < / mx:ViewStack >
    < / mx:Application >

    -J' I spend 2 panels ('A' button).

    -When I go to the panel1 to panel2 (click on event), I change the variable 'value' for 'test' (with data binding, Text2 is updated).

    -After this, I manually change the value in Text2 (for example "valeur123").

    -J' I spend panel2 to panel1 (button 'B')

    -J' I go once more of the panel1 to panel2 ('A' button)

    = > and this time, the "Text2" TextInput is not being updated. the value is not changed (always "valeur123").

    So why the data binding does not work in this case?

    Thank you for your help.

    Concerning

    Greg

    Yes you were not trying to bind your data to 2 channels, but I said that because assumes that if you have two way data binding support now, so know you only problem.consider the following two lines, which run two way data binding

      
      
    

    try to run the following application and see what happens

    
    
        
            
        
        
            
                    
                    
            
            
                
                
            
        
        
        
        
    
    
  • ADF table with checkbox refresh data binding problem

    Hello.

    I use JDeveloper 11.1.1.3. I need to use the table with checkboxes in each row of the table in my project. I use VO with transitional 'Selected' attribute that has a boolean type.
    Everything works well, wait one thing:
    When you click checbox with valueChangeListener and try to get the selected line in the managedBean you won't get any selected lines. After selecting second maaged bean evil shows that 1 single line is selected. It's my managedBean method:

    public void SelectCountyClick (ValueChangeEvent valueChangeEvent) {}

    DCIteratorBinding it = ADFUtils.findIterator (ITERATOR_NAME);

    int selectedRowCount = 0;
    RowSetIterator laughs = it.getRowSetIterator ();
    Line r = rit.first ();
    If (r! = null) {}
    If ((Boolean) r.getAttribute ("Selected"))
    selectedRowCount ++;
    }

    While (rit.hasNext ()) {}
    r = rit.next ();
    If ((Boolean) r.getAttribute ("Selected"))
    selectedRowCount ++;
    }

    System.out.println ("selected all THE LINES:" + selectedRowCount);


    }

    I tried to change this event to the client event, I got the line number, I put 'true' or 'false' to the code data binding, but whenever I can't correct data after the value change event.

    Please help me.

    The latest idea is updated databing after click of checkbox, I think. Please help me.

    Thank you!

    You must go through the concepts of life cycle of page ADF. In simple terms the Boolean value in the model is not defined in valueChangeListener. Try adding (.processUpdates) valueChangeEvent.getComponent (FacesContext.getCurrentInstance ()); on top of your listener method and see the effect.

    Reference:
    http://docs.Oracle.com/CD/E15051_01/Web.1111/b31974/adf_lifecycle.htm

  • XML data binding very complex in DataGrid

    Here's an Xml so I recover from webservice. And as you can see it uses namespaces and so on... So here ar some < q1:StatusOption > tags here, and I need their props to be bind in DataGrid with columns OptionValue, Description, State... I tried many ways, but without success. Help, please! And if it's possible without tables. Thank you.


    "" "" "" "< RetrieveAttributeMetadataResponse xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance ' container = " http://www.w3.org/2001/XMLSchema ' xmlns:soap = ' http://schemas.xmlsoap.org/soap/envelope/ ' xmlns =" http://schemas.microsoft.com/crm/2006/WebServices "> "
    "< RetrieveAttributeMetadataResult xsi: type ="q1:StatusAttributeMetadata"xmlns:q1 =" http://schemas.microsoft.com/crm/2006/Metadata "> "
    StatusCode < q1:Name > < / q1:Name >
    < q1:Type > status < / q1:Type >
    < q1:DisplayName > status < / q1:DisplayName >
    < q1:Description > reason for the status of the contact. < / q1:Description >
    < q1:IsCustomField > false < / q1:IsCustomField >
    < q1:RequiredLevel > None < / q1:RequiredLevel >
    < q1:DefaultValue xsi: type = "xsd: int" >-1 < / q1:DefaultValue >
    < q1:ValidForCreate > true < / q1:ValidForCreate >
    < q1:ValidForRead > true < / q1:ValidForRead >
    < q1:ValidForUpdate > true < / q1:ValidForUpdate >
    ValidForAdvancedFind ValidForForm ValidForGrid < q1:DisplayMask > < / q1:DisplayMask >
    < q1:NextValue > 3 < / q1:NextValue >
    < q1:Options >
    < q1:StatusOption >
    < q1:OptionValue > 1 < / q1:OptionValue >
    Active < q1:Description > < / q1:Description >
    < q1: State > 0 < / q1: State >
    < / q1:StatusOption >
    < q1:StatusOption >
    < q1:OptionValue > 2 < / q1:OptionValue >
    < q1:Description > is not active < / q1:Description >
    < q1: State > 1 < / q1: State >
    < / q1:StatusOption >
    < / q1:Options >
    < / RetrieveAttributeMetadataResult >
    < / RetrieveAttributeMetadataResponse >

    I found an answer on the other forum. Check this :)


    http://www.Adobe.com/2006/mxml"layout ="absolute"creationComplete =" onCreationComplete () ">"

    "" "" private var myxml:XML = http://www.w3.org/2001/XMLSchema-instance"container =" http://www.w3.org/2001/XMLSchema ' xmlns:soap = ' http://schemas.xmlsoap.org/soap/envelope/ ' xmlns = " http://schemas.microsoft.com/crm/2006/WebServices" > "
    http://schemas.Microsoft.com/CRM/2006/metadata">
    StatusCode
    Status
    Status
    Reason for the status of the contact.
    fake
    None
    -1
    true
    true
    true
    ValidForAdvancedFind ValidForForm ValidForGrid
    3


    1
    Assets
    0


    2
    Not active
    1



    ;

    private function onCreationComplete (): void
    {
    var result: XMLList = myxml... *: StatusOption;

    DG1. DataProvider = result;
    }

    private void getAttributeValue(item:Object,_column:DataGridColumn):String
    {
    var xmlList:XMLList = XML (element) .we (new QName (" http://schemas.microsoft.com/crm/2006/Metadata", column.dataField));

    Return xmlList [0] m:System.NET.SocketAddress.ToString ();
    }
    ]]>








  • Trying to Oracle data BINDING

    This should be very simple, but it gives me a lot of problems. I am return to Oracle data in a datagrid, and then I'm trying to use the BINDING attribute on CFINPUT tag to display the data. The data does not, if I change the data source to something else (MS Access), it works. Has anyone seen problems of Oracle data binding in a CFINPUT tag? Here is my code:

    < cfform format 'AFSContactInfo' = 'flash' width = name = "800" height = "350" >

    < cfformgroup type is "Panel" label is "Contacts" >
    <! - grid with contact names - >
    < name cfgrid = request "contactGrid" = "getAFSInfo" height = "220" rowheaders = "false" >
    < name cfgridcolumn = "obg_no" header = "Debtor" / >
    < name cfgridcolumn = "name" header = "Name" / >
    < cfgridcolumn = header "addr_3" name = "Address" / >
    < name cfgridcolumn = "City" header = "City" / >
    < name cfgridcolumn = "st" header = "State" / >
    < name cfgridcolumn = "zip" header = "Zip" / >
    < / controls cfgrid >

    < cfformgroup type = "horizontal" >


    "< cfinput type ="text"name ="sel_name"bind =" {contactGrid.selectedItem.name} "label =" name of salt: "SIZE ="20">

    < cfinput type = "submit" name = "submitBtn" value = "Submit" / >
    < / cfformgroup >
    < / cfformgroup >
    < / cfform >

    I thought about it. I tried to reference the Oracle column
    contactGrid.selectedItem.name
    and it should have been
    contactGrid.selectedItem.NAME

    Oracle is case sensitive

  • Could not send an individual column by using a data binding

    Hello
    I have a data set (testdatalink) link to access the table of database SQL Server reading
    now in my Toad or sql prompt I quried the table using this data binding

    Select * from sqltable@testdatalink;
    With this I have no problem
    But when I ask a specific column as
    Select col1 from sqltable@testdatalink;
    or when I try to update a column
    It says COL1 IS not a VALID IDENTIFIER;
    My final requirment is to update a column in this table of SQL server based on certain conditions.

    I tried to give a name, alis, but no use.
    Please let me know if is there any method of reference in the columns of the table

    Thanks in advance

    Published by: DharV on August 10, 2011 02:45

    If the columns are lowercase in Sukkelserver, you must

    Select 'col1' of reading @...

    --------
    Sybrand Bakker
    Senior Oracle DBA

  • XML to datagrid problem

    IM new to flex and I have a problem with getting my data in a datagrid control. This should be simple, but I'm running out of ideas to make this work.

    I can't control the data. It happens in this form. can it be integrated in a datagrid? I need the text between the tags field.

    Any ideas would be very useful.

    Thanks in advance!

    My data:

    <? XML version = "1.0" encoding = "UTF - 8"? >

    < report >

    < data >

    < row >

    < name of field = "EL_VALUES_FIELD8" pos = "1" > Vietnam < / field >

    < name of field = "EL_VALUES_FIELD9" pos = "2" > United States < / field >

    < name of field = "EL_VALUES_FIELD10" pos = "3" > PUBLIC POWER DISTRICT < / field >

    < name of field = "EL_VALUES_FIELD11" pos = "4" > FORT bumper < / field >

    < name of field = "EL_VALUES_FIELD12" pos = "5" > BOO < / field >

    < name of field = "EL_VALUES_FIELD13" pos = "6" > SINCLAIR < / field >

    < name of field = "EL_VALUES_FIELD14" pos = "7" > NOT < / field >

    < name of field = "EL_VALUES_FIELD5' pos '8' = > 29/03/2010 12:00:00 AM < / field >

    < name of field = "EL_VALUES_FIELD6' pos '9' = > ELEMENT, PRO-RO-430-HR-WT < / field >

    < = "EL_VALUES_FIELD8" pos = '10' field name > 3021590 < / field >

    < name of the field 'EL_VALUES_FIELD7' pos = '11' = > 36 < / field >

    < = field name "S.EL_VALUES_FIELD10 |"-'| "" S.EL' pos '12' = > FORT CALHOUN < / field >

    < name of the field 'EL_VALUES_FIELD15' pos = '13' = > N01937 < / field >

    < / row >

    < row >

    < name of field = "EL_VALUES_FIELD8" pos = "1" > APAC < / field >

    < name of field = "EL_VALUES_FIELD9" pos = "2" > India < / field >

    < name of field = "EL_VALUES_FIELD10" pos = "3" > Petro < / field >

    < name of field = "EL_VALUES_FIELD11" pos = "4" > purification < / field >

    < name of field = "EL_VALUES_FIELD12" pos = "5" > BOOT < / field >

    < name of field = "EL_VALUES_FIELD13" pos = "6" > < / field >

    < name of field = "EL_VALUES_FIELD14" pos = "7" > Johan Barru < / field >

    < name of field = "EL_VALUES_FIELD5' pos '8' = > 30/04/2010 12:00:00 AM < / field >

    < name of field = "EL_VALUES_FIELD6' pos '9' = > ELEMENT, PRO-RO-400-HR-WT < / field >

    < = "EL_VALUES_FIELD8" pos = '10' field name > 3006198 < / field >

    < name of the field 'EL_VALUES_FIELD7' pos = '11' = > 84 < / field >

    < = field name "S.EL_VALUES_FIELD10 |"-'| "" S.EL' pos '12' = > petrochemical-water < / field >

    < name of the field 'EL_VALUES_FIELD15' pos = '13' = > PROXY7 < / field >

    < / data >

    < / row >

    < report >

    No problem, we all have the same problems :)

    I think that you can give this thread replied.

    Kind regards

    Adrian

  • How to fix this bug in data binding?

    Hi all

    I need a mutual-except component as ToggleButton behaves. There is a public property viewMode, which indicates which button is selected. It works fine when I click on other buttons. But when I click the button selected again, it seems that the link does not work.

    The project file is attached. Please help me to fix this problem.

    Thank you and best regards,

    Try adjusting the rocker to false.  Data binding does the right thing, but because you have to toggle the value true, the button is activating / disabling selected after data binding has done his thing.  Try looking at Button.setSelected () to see what I mean.

  • &amp; quot; data binding will not be able to detect assignments &amp; quot; alert - but no runtime error

    I have a class that is instantiated as hhgrab, it has an array declared as:

    [Bindable]
    public var resultData:ArrayCollection = new ArrayCollection();

    In my MXML file I link this table to a datagrid as:

    < mx:DataGrid = "19" x y = "283" width = "383" dataProvider = "{hhgrab.resultData}" >

    But I gives me a warning that says "data binding won't be able to detect assignments to the hhgrab.

    I Googled it and saw that this alert is raised when a variable is not declared as bindable, but mine is. This could be a bug in Flex Builder 3?

    Thank you...

    I did hhgrab is bindable:

    package components
    {
    public class MyAC
    {
    Import mx.collections.ArrayCollection;

    [Bindable]
    public var resultData:ArrayCollection = new ArrayCollection();
    public void MyAC (): void {}
    resultData = ArrayCollection([)
    {Month: "January", result: 2000, expenses: 1500, amount: 450},
    {Month: "February", result: 1000, expenses: 200, amount: 600},.
    {Month: "March", result: 1500, expenses: 500, amount: 300},
    {Month: "April", result: 500, fees: 300, amount: 500},
    {Month: "Peut", result: 1000, expenses: 450, amount: 250},.
    {Month: "June", result: 2000, expenses: 500, amount: 700}
    ]);
    }
    }
    }
    -----------------------------------------------------------------------


    http://www.Adobe.com/2006/mxml">
    import components. MyAC;

    [Bindable]
    private var hhgrab:MyAC = new MyAC();

    ]]>

  • Data binding does not detect changes

    During the passage of property that may be related to the function and assigning a new object data binding breaks
    Take a look at the following example.

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" initialize = "init ()" >

    < mx:VBox >
    < mx:Text id = text = "{user.name"textbox"}" / > "
    < mx:Button label = "Update user" click = "updateUser (user)" / > "
    < mx:Button label = "Update User2" click = "updateUser2 ()" / > "
    < / mx:VBox >
    < mx:Script >
    <! [CDATA]
    [Bindable]
    private var: user;

    private function init (): void
    {
    User = new User();
    User.Name = "first name";
    }

    private void updateUser(newUser:User):void
    {
    newUser = new User();
    newUser.name = 'new name ';
    }
    private function updateUser2 (): void
    {
    User = new User();
    User.Name = "new Name2";
    }
    []] >
    < / mx:Script >
    < / mx:Application >

    File User.as
    package
    {
    [Bindable]
    public class User
    {
    public var name: String;
    }
    }

    Why the function updateUser break data binding?
    The updateUser2 function works

    Thanks for all replies ;)

    Suggestion of levancho on sends an event seems good to me.

    This could look like this:

    var userEvent:UserEvent = new UserEvent ("new user", newUser);
    dispatchEvent (userEvent);

    Where UserEvent is an event with the new object.
    Then all the elements that need this change pourraient, follow these steps:

    addEventListener ("new user", userChanged);

    private void userChanged(evt:UserEvent):void
    {
    evt. User; Update the link with the new user...
    }

    After looking more on the problem, I found:
    Initially, the main problem was that the variable in the function will not update the refence sent in the function when you create a new instance, regardless of the use of data binding or not...

  • Fill datagrid problem

    Hello

    I have problems filling my datagrid with xml data returned by an instance of a class.

    Here is the xml data that is returned by the instance

    < summaryScreen >
    < test >
    GCE of < type > < / type >
    < qualification > Extended project Qualification < / qualifying >
    < code > < code > 1991
    < student > 12 < / students >
    < scored 4 > < / marked >
    < subject > 8 < / subject >
    < set > November < / series >
    < / review >
    < test >
    GCE of < type > < / type >
    < code > < code > 1991
    < qualification > Qualification of project Extended - TH < / qualifying >
    < student > 14 < / students >
    < scored > 3 < / marked >
    < subject > 4 < / subject >
    < set > September < / series >
    < / review >
    < test / >
    < / summaryScreen >

    And here is my code for the datagrid control

    < 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 = "Subject" dataField = "subject" width = "90" / >
    < mx:DataGridColumn headerText = "Series" dataField = "series" width = "70" / >
    < mx:DataGridColumn headerText = "Days left" dataField = "daysLeft" / >
    < / mx:columns >

    < / mx:DataGrid >

    Can someone point me in the right direction to enter these data in the DataGrid?

    Thank you!

    Do not use "mx.utils.ArrayUtil.toArray" with XML. It is only for tables that you get with mx: Model.

    Your class and function can be linked? There is no argument on the function, so how is the framework going to know when the connection of fire?

    You do not receive warnings of liaison?

    Use a lableFunction so you can debug the objects of the item in the dataProvider.

    Tracy

  • Alignment columnar with DataGrid problem

    Hi all.

    I have the following data grid:

    http://www.joshbeall.com/personal/Flex/Grid1.PNG

    If you filter some of the results with zeros in columns cited/applied, that's what you get:

    http://www.joshbeall.com/personal/Flex/Grid2.PNG

    See how the column heads are not aligned with the columns? Oddly enough, I still don't understand this behavior, but it often happens. If I click a column head (to change the sort order), the alignment is corrected.

    I have attached the full MXML for this application.

    BTW, another problem, I had (and have given up trying to hunt down is), why should I declare my WebService as < mx:WebService >, instead of simply do entirely in code? You can see in my MXML that I put in the comment a few lines of AS the initialization of the instance of WebService. I was originally, declaring and using my WebService entirely in code. However, data binding didn't work - the grid never filled. When I changed it to be declared as a < mx:WebService > tag, everything started working.

    -Josh

    Peter, I caught SDK build 180310/Wed Aug 22 2007 and that fixed the display problem.

    Rvollmar, thanks for the tip on [Bindable]. Add this attribute corrected the problem. You call the 'attributes' in ActionScript? 'attribute' is the name of .NET.

  • &amp; quot; data binding will not be able to detect assignments &amp; quot; warning

    new features in Flex Builder 3, Beta 2 (I did not have this problem with Beta 1), I have randomly (it seems) get warnings "data binding will not be able to detect assignments to < property >" for properties that are Bindable. If I run my AIR application while I have these warnings the app will not be able to detect assignments to these properties, as warning says. However do a rebuild/clean removes these warnings and my app then works well, with data binding works as expected. I have not found a way to force this behavior, it seems just occur occasionally during development.

    others have this problem?

    Hi snowymike,
    Please connect this FB bugapp problems that can be found here: http://bugs.adobe.com/flex/
    Provide as much information as possible.
    Thank you!
    -Tanya

Maybe you are looking for

  • Finder of freezing and acting weird

    Hi I had a couple issues Finder weird recently any help would be much appreciated! The finder drawing seems to freeze - can I open a folder or a new window of finder and sometimes it will be fine, but then it will be half freeze - the content of the

  • Yandex

    Recently, I was using my phone to get directions and next to my apps Waze, Maps and Google Maps is another application called YANDEX. NAVIGATOR. What is all about? I haven't downloaded this app and can't even find it on my phone when they look for. I

  • Photoschop CS6 always work with El Capitan?

    I use with OS X 10.9.5 CS6 - and I paid a lot for the full version, so it has to work with my new IMac too.

  • My new banking partner asks a question have not found an answer to. Firefox support encryption?

    My new banking partner asks a question have not found an answer to Firefox support encryption?

  • Swipe-able notes app for iPad 2

    I would like to find an application of notes on my ipad2 "shot-capable". I work as a musician and need to take notes for each song performance so that I can drag one title to another without the need to return to a list. Every night the list changes