hY,
I have just tried to do what u wrote.
The problem is the following:
losTitulos = ” ['ID', 'Ficha']“;
lasColumnas = “[ {name:'ID', width:50, hidden:true},”;
lasColumnas += “{name:'Ficha', align:'center'}]“;
grid:
colNames: losTitulos,
colModel: lasColumnas,
now … after using firebug the script looked like this:
colnames: ” ['ID', 'Ficha'] “,
but we need:
colnames: ['ID', 'Ficha'], // without ” “
and the same for colModel.