Guys,

  We have a stupid problem here. In one of datagrid developed by our 
developers, there are a few columns need to be added dynamically 
besides 5 basic column. The width of the grid is 800. So before the new 
columns are added dynamically, the last column takes width of 800-
4*columns though it is given a fixed column. This is fine. But after the new 
columns are added, the width of this column still stays same. You have to 
drap the column to see new columns. I tried to redefine the column's width 
dynamically, but following code is not working:

 datagrid.columns[5].width = 60;

It caused errors. Tried percentWidth, also not working. Did I do something 
wrong? How can I fix this issue?

Many thanks,

Fudong

Reply via email to