Hi All, I've a problem with the DataGrid ignoring the % width, while using Canvas as the parent. When I dynamically create columns it stretches to beyond the origional area. This behaviour has been reported as a bug. http://bugs.adobe.com/jira/browse/SDK-14390. The workarround described in the bug setting the width to 0 works for me in a simple test case but doesn't appear to work within my main application.
I've got a test case that I would have to post at work (monday) if its usefull to see the problem. What I was wondering is why setting the width of the grid to 0 worked. I tried raising all the event and invalidateProperties, invalidateSize etc that setting the width property seems to do. But that doesn't seem to work. I would like to extend datagrid with a version that doesn't have this issue if I can figure out why a fixed width doesn't work. Thanks for your time. Wesley