I’m trying to bring in data from an xml file, and populate a datagrid with it. I’ve got that working just fine, but all the columns are spaced evenly, and will not extend it if the content in the rows is too long. I found an example of it that would be acceptable, if it was doable in actionscript 3 alone, unfortunately this example uses flex. It’s near the bottom of the page.
That would really be perfect, dynamically going multiline and increasing row height when it needs to. I found an adobe article on making it multiline in just flash, but its completely static. I’ve been able to reference the text width through the cellrenderer class, but I can’t get access to the datagrid from there. If I could get the textField width and then use that to determine column width, that would be incredible.
Failing all of that, I’d be happy to know of any alternatives, or if It’s just a fruitless endeavor to begin with.