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

Reply via email to