PDA

View Full Version : [AS3] datagrid column multiline from external xml file help


jesserooney
03-05-2009, 04:54 PM
I have a datagrid that imports from an XML file. Unfortunately I am unable to determine how to get the column height to automatically resize based on the amount of data that is loaded.

See example here: http://www.landmarkmn.com/data/data_grid.html

Notice the description column first record...the overflow from the column does not create a multiline column and the text is not showing.

I am no expert and use tutorials to get any flash stuff done (thanks to all of you experts out there!)

Read some tutorials and am lost at what to do now...I am attaching my files for the datagrid. Will post the code if that would be easier.

jesserooney
03-05-2009, 08:10 PM
okay, using callrenderer works somewhat....but there is no way to autosize the height of a column, you can only specify it.

Since I have it working, here is the current link along with the files for those who are trying this too.

http://www.landmarkmn.com/test/data_grid.html

http://www.landmarkmn.com/test/datagrid.zip

Good luck to all - if you find a workaround for the column height issue please post it!