That snippet of code looks fine. Does the PDG look ok on screen? Are all columns clipping or just some?
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of rajanjainflex Sent: Friday, August 31, 2007 8:01 AM To: [email protected] Subject: [flexcoders] text in columns is not printed completely Hi All I am printing the datagrid and everything is printing fine but the text in the columns are not printed completely.I am not able to see the complete text in the columns.I am creating the columns from the columns of the other datagrid. I have also assigned the width of the column but still no luck. Please help me. for each (var column:DataGridColumn in columns) { var printColumn:DataGridColumn = new DataGridColumn(); printColumn.dataField = column.dataField; printColumn.width = column.width; trace("width of the cell" + printColumn.width); printColumn.labelFunction = column.labelFunction; printColumn.headerText = column.headerText; printColumn.wordWrap = true; printColumn.itemRenderer = column.itemRenderer; printColumn.setStyle("textAlign",column.getStyle("textAlign")); printColumns.push(printColumn); } thanks in advance!!!!!!!! Thanks Rajan

