otro desconcierto, parece ser que para modificar el tamaño de las columnas de un datagrid el codigo debe ser algo asi:
Código :
myDp.getColumnAt(0).width = 400;
mi pregunta es:
hay algun condicionante para que esto no se produzca?
porque tengo un data grid con 3 columnas y no hay manera de establecer las anchuras mediante codigo.
buscando... he encontrado esto, que es lo que me hace dudar, pero mi inglés es muy pobre y los traductores... no veas.
myGrid.getColumnAt(4).width = 25;
doesn't appear to do anything. I have also experienced the same issues with myGrid.getColumnAt(0).editable = false; - the column was still editable. So it appears to be getColumnAt that is not working as it should.
doesn't appear to do anything. I have also experienced the same issues with myGrid.getColumnAt(0).editable = false; - the column was still editable. So it appears to be getColumnAt that is not working as it should.
entiendo que si las columnas tienen la propiedad "editable=false", no se puede modificar su anchura mediante código...
alguna sugerencia???
Gracias por todo.
Saludos
