Flash Form Cell Renderer Weirdness

I recently had to revisit my Flash Form combobox cell renderer examples to use the technique in a project that I am working on and found a very weird behavior that I'm hoping someone can help me figure out. Here is what's happening: When using a custom cell renderer in conjunction with an editable grid that allows row inserts, when the rows extend beyond the visible height of the grid, the combobox renderers begin to act very weird. Go to the example below and add about 15-20 rows and you'll see what I mean. After adding the rows, scroll up and down in the grid and things will just keep changing. Anyone know what's up? I am a little concerned that this is one of the drawbacks to hacking up this solution, but there really is no difference in this technique than techniques employed in Flex (which is really what Flash Forms are).

Example



Comments
I get the same thing in Flex when I use a custom ItemRenderer. This is because the ItemRenderer is recycled and redrawn as you scroll. In Flex I attached a function to the render event on my CheckBox component so that I could tell Flex how to redraw my CheckBox after the recycle.I am not sure what you would do in Flash. Hope this helps:)
# Posted By Michael Ramirez | 10/24/06 9:51 AM
Any way you could share the code you used? I'm sure I could hack it into working.
# Posted By todd sharp | 10/24/06 1:27 PM
Todd, Have you figured this one out? I need to have this functionality in a current CF application. I'm using a cfform/cfgrid and need to have a dropdown the cells.
# Posted By Chris | 11/16/06 12:08 PM
Yup...it was quite simple too.

Check this post:

http://cfsilence.com/blog/client/index.cfm/2006/10...
# Posted By todd sharp | 11/16/06 12:43 PM

Calendar

Sun Mon Tue Wed Thu Fri Sat
      1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30       

Subscribe

Enter your email address to subscribe to this blog.

Tags

actionscript ajax blogging cfsnippets coldfusion flash forms flex funny stuff misc model-glue off topic personal project learn slidesix sql

Recent Comments

Editing A Query In A SQL Server DTS Package
JD said: Thanks for your post. Never unlike Microsoft to hide stuff in the hardest part time find. [More]

Mashing Spry Effects With CF8 Ajax Goodness
Mark Pitts said: I have had moderate success implementing Spry Accordian. Sadly the part that does is not working wil... [More]

Chinese Birth Calendar Accuracy Test
Toni Lehman said: This calendar was accurate for both my daughters and 4 grandchildren. I tried it for 11 of my other ... [More]

Virtual Memory - Am I The Last To Know?
Larry Miller said: The authors friend was right. Windows virtual memory system was designed by experts and they fully u... [More]

Using A PlayStation 2 HDD In Your PC
Alacres said: Thanks so much for the guide man! I did have a more specific question though, since I didn't see it ... [More]

RSS


coldfusionbloggers

FullAsAGoog MXNA

Consumed By Feed-Squirrel.com