This content has been marked as final. Show 5 replies
I have posted on this error before and submitted it as a bug to Adobe but other then that I have not gotten a response. Are you using ItemRenderers within your datagrid? Are you adding columns dynamically at runtime? Check out the FlexCoders group on yahoo. Search for "Run-Time Error".
I used one of the recommendations from your link, which was to call validateDisplayList on the grid after.
Worked like a champ, it seems. Thanks!
Follow-up : actually, on further inspection, it seems that once I turned variableRowHeight back to true, this keeps dying. :(
I have the same issue, I am adding columns dynmacially, the grid columns are updated with user actions (add and remove)
Michael , I looked in Flex Coders and could find link for possible solution
it seems from the posting that It would be solved if I call validateDisplayList on the grid after.
can you point me to more information, ( and call this method after what),
I appreciate response for this, this is crazy issue
Kasem, I couldn't find a solution... so I turned off variable rowheight and made a custom tooltip so that I could show whatever text the user couldn't see by default.
If you figure this out, let me know.
Ok, the only way to workaround this issue is to again to turned off variable rowheight attribute for the Data Grid but also you have to make sure that you set the rowHeight attribute to a value like 24 (or anything you want), it seems setting this value will bypass this code since it does not need to calculate the row height anymore . i.e it now works for fixed heights
so now I am not getting the error :)
Thanks for help