3 Replies Latest reply on Jun 8, 2010 9:11 AM by msakrejda

    How do I kill this message?

    Jerry62712-TOkMyj Level 1

      A very simple one for once.  I get this warning: "Data binding will not be able to detect assignments to "flatData"."  The context is:

       

      ==><mx:AdvancedDataGrid tabIndex="60"
                dataProvider="{flatData}" designViewDataType="flat"
                selectionMode="singleCell" height="90" width="100%">
                <mx:columns>
                   <mx:AdvancedDataGridColumn dataField="col1" headerText="Column 1 (mx)"/>
                   <mx:AdvancedDataGridColumn dataField="col2" headerText="Column 2 (mx)"/>
                   <mx:AdvancedDataGridColumn dataField="col3" headerText="Column 3 (mx)"/>
               </mx:columns>
            </mx:AdvancedDataGrid>

       

      And flatData looks like this:

          private var flatData:ArrayCollection = new ArrayCollection([
              {col1:"A", col2:"D", col3:"G"},
              {col1:"B", col2:"E", col3:"H"},
              {col1:"C", col2:"F", col3:"I"}
          ]);