3 Replies Latest reply on Oct 22, 2008 9:11 AM by Newsgroup_User

    TileList: Advanced customzation

    Grey Cardinal
      I am trying to create a Flex version of:
      http://tinyurl.com/6n36fo
      Here is how I have come so far:
      http://tux.rb.no/flex/

      I have 2 main issues:
      How to change Height of a specific row?
      And how to access or change neighbor cells?
        • 1. Re: TileList: Advanced customzation
          Level 7

          "dmitryvalberg" <webforumsuser@macromedia.com> wrote in message
          news:gdklqb$fia$1@forums.macromedia.com...
          >I am trying to create a Flex version of:
          > http://tinyurl.com/6n36fo
          > Here is how I have come so far:
          > http://tux.rb.no/flex/
          >
          > I have 2 main issues:
          > How to change Height of a specific row?

          variableRowHeight = true

          > And how to access or change neighbor cells?

          to what end?


          • 2. Re: TileList: Advanced customzation
            Grey Cardinal Level 1
            Thank you for the answer!

            When it comes to changing I want to change all cell to the left from the selected cell and then do the same to all rows below selected one. In general it just knowing how to access cell to the left and to the right from selected one. And how to do the same with rows and cell in those rows.

            Thanks!
            • 3. Re: TileList: Advanced customzation
              Level 7

              "dmitryvalberg" <webforumsuser@macromedia.com> wrote in message
              news:gdmgrr$1de$1@forums.macromedia.com...
              > Thank you for the answer!
              >
              > When it comes to changing I want to change all cell to the left from the
              > selected cell and then do the same to all rows below selected one. In
              > general
              > it just knowing how to access cell to the left and to the right from
              > selected
              > one. And how to do the same with rows and cell in those rows.

              Given a horizontal TileList, the _data items that are represented_ by the
              cells to the left will be the ones where the index in the collection is less
              than the selected index, yet greater than the rowIndex * the columnCount.
              The _data items that are represented_ by the cells below the selected one
              will be the ones where the index in the collection is > the (rowIndex +2) *
              the columnCount. Note that this may be out by a bit, as it's off the top of
              my head, but it should give you a handle on an approach that should work for
              you.

              Note that you can do all this work from the itemRenderer, using the listData
              property, or you can use a styleFunction with my TileList_withStyle extended
              TileList
              http://flexdiary.blogspot.com/2008/08/tilelist-with-stylefunction.html

              Here's an example using it that in some ways is similar to what you're
              trying to do
              http://flexdiary.blogspot.com/2008/09/groupingcollection-example-featuring.html