Why don`t work this..??
<script>
var objSpGrid_P_AGENTE_columns = [
"ID", "NOMBRE"
];
var objSpGrid_P_AGENTE_data = [
["avolpi", "Andres Volpi", ],
["gciapparelli", "Gabriel Ciapparelli", ],
["avolpi", "Andres Volpi", ],
["ygs", "Sasso Yesica", ],
["soluciones2", "soluciones2", ],
["svr", "ROSORANI, SABRINA VALERIA", ],
["cmj", "CASTRO, MELISA JULIETA", ],
["mv3", "VISINTIN MARIA LORENA", ],
["prg", "PIMENTEL RAUL GERARDO", ],
["db0", "BOLOGNESSI DIEGO RICARDO", ],
["bla", "BERNDT LUIS ALBERTO", ],
["dongaro", "Daniela Ongaro", ],
["mot", "OLMO TRINIDAD", ],
["gm2", "Gatinsky Marcelo", ],
["soluciones", "Soluciones", ],
["gciapparelli", "Gabriel Ciapparelli", ],
["dmd", "DE MIGUEL DANIEL", ],
["alejandroi", "Ale", ],
["leonardod", "Leo", ],
["leonardod", "Leo", ],
["leonardod", "Leo", ],
["maximilianob", "Maxi Brizzi", ],
["leandroh", "Lean Halfon", ],
["glele", "Gabriel Ciapparelli", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["leandroh", "Lean Halfon", ],
["gciapparelli", "Gabriel Ciapparelli", ],
];
try {
var objSpGrid_P_AGENTEDiv = new AW.HTML.DIV;
objSpGrid_P_AGENTEDiv.setId('objSpGrid_P_AGENTEDiv');
objSpGrid_P_AGENTEDiv.setStyle('position', 'absolute');
objSpGrid_P_AGENTEDiv.setStyle('width', '100%');
objSpGrid_P_AGENTEDiv.setStyle('height', '200%');
document.write(objSpGrid_P_AGENTEDiv);
var objSpGrid_P_AGENTE= new AW.UI.Grid;
objSpGrid_P_AGENTE.setRowCount(51);
objSpGrid_P_AGENTE.setColumnCount(2);
objSpGrid_P_AGENTE.setHeaderText(objSpGrid_P_AGENTE_columns);
objSpGrid_P_AGENTE.setCellText(objSpGrid_P_AGENTE_data);
objSpGrid_P_AGENTE.setStyle('width', '100%');
objSpGrid_P_AGENTE.setStyle('height', '100%');
objSpGrid_P_AGENTE.setSelectorVisible(true);
objSpGrid_P_AGENTE.setSelectorText(function(i){return this.getRowPosition(i)+1});
objSpGrid_P_AGENTE.setSelectionMode('single-row');
objSpGrid_P_AGENTE.onColumnWidthChanged = function(){this.timeout(function(){this.getRowsTemplate().refreshClasses();});}
objSpGrid_P_AGENTEDiv.setContent('html',objSpGrid_P_AGENTE.toString());
}
catch (error){
document.write(error.description);
}
</script>