2 Replies Latest reply on Aug 9, 2006 1:28 PM by Newsgroup_User

    Changing the state of a grid.

    Level 7
      Is there some reason that this code would not work to change the state
      of a grid with seven columns each 14.2% wide to a grid with one column
      100% wide?

      When I run this, I get no errors but I also get no effect when the
      button to change the state is clicked. Other changes specified in the
      state do occur but not these two.

      ...

      <mx:SetProperty target="{dayCells}" name="count" value="1" />
      <mx:SetProperty target="{drawItems}" name="width" value="100%" />

      ...

      <mx:Repeater
      id="dayCells"
      dataProvider="{days}"
      startingIndex="{weekRows.currentItem}"
      count="7">

      <mx:GridItem
      id="drawItems"
      width="14.2%"
      borderColor="black"
      borderThickness="1"
      borderStyle="solid">

      ...