Sounds like the DG is given a 0 width or really small width at some point.
On 5/30/10 4:00 AM, "stephen_anson" <[email protected]> wrote: Hi, I have a data grid that has several columns, when i go from one state and back to the original state the first 2 columns are resizing to fill the grid. I have used an the following custom checkbox component as an item renderer in several of the fields, could there be a problem with this? <s:MXDataGridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" focusEnabled="true" > <s:CheckBox id="lblData" horizontalCenter="0" selected="{dataGridListData.label=='1'}" /> </s:MXDataGridItemRenderer> when i stick a trace in the enterstate handler it says the first datacolumn is -1 in width. any help much appreciated cheers Steve -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui

