A friend of mine passed along an interesting problem regarding DataGrids. They had the need to hide certain columns and then dynamically load the data. When doing this as expected, such as dataGridName.dataProvider = yourArrayName, the hidden columns would not stay hidden. The workaround to this issue is to track the visibility of each DataGridColumn, set the column to visible, and then override it with the visibility status we stored.
View the example here and download the code here.
Definately not optimal, but it works... ;-)
I have been specializing in building web-based applications since 1998, primarily using HTML, Flex, LiveCycle, Java, ColdFusion, and SQL Server. You found yourself here, so hopefully you'll get something good out of it! Enjoy...
Tuesday, March 13, 2007
Issues with DataGrid Column Visibility
Posted by Michael Imhoff at 4:29 AM 3 comments:
Paul Rangel from Wheeler Street Design put together a simple form validator that works quite well. The only thing that you have to be aware of is the fact that you need to initialize the validators property after your form fields are added if you're using states.
Posted by Michael Imhoff at 3:33 AM No comments:
Friday, March 09, 2007
Animator vs Animation
A friend of mine just passed me the following YouTube video. It's a great example of someone who is extremely talented and creative with Flash. It's worth a watch.
Posted by Michael Imhoff at 1:40 PM No comments:
Subscribe to: Posts (Atom)