2 Replies Latest reply on Feb 19, 2010 5:44 AM by nikos101

    Bindable problem for     <s:NavigatorContent

    nikos101 Level 2

      I have a view stack and I do this in a different
              <s:NavigatorContent

      to the advanced data grid adg1
                
                      <s:Label text="{'Total notice count: ' + adg1.dataProvider.length}"/>

       

      However the text only every shows once the user has navigated to the adg1.

      This shouldn' tbe since creationPolicy="all"

       

      any ideas my friends?

        • 1. Re: Bindable problem for     <s:NavigatorContent
          David_F57 Level 5

          Hi Nikos,

           

          try adding this to the label declaration - itemCreationPolicy="immediate"

           

          David

          1 person found this helpful
          • 2. Re: Bindable problem for     <s:NavigatorContent
            nikos101 Level 2

            I tried it a different way but tried your suggestion

             

            when I call this the debugger says editSelectedNotice is null even with itemCreationPolicy="immediate">?

             

             

                editSelectedNotice.editor.textFlow= TextConverter.importToFlow(adg1.selectedItem.text, TextConverter.TEXT_LAYOUT_FORMAT);

             


                <s:Border borderWeight="3" width="100%" height="100%" includeIn="editSelectedNotice" itemCreationPolicy="immediate">
             
                    <components:CustomEditor    width="100%" height="100%"  id="editSelectedNotice"  >
                   
                    </components:CustomEditor>

             

                   
                </s:Border>