3.0.5

Where did I wander? Image on cell of Grid

I have:

<link href="mini.css" rel="stylesheet">
......
myData2[indicemyData2]=[];
myData2[indicemyData2][0] = jsonResults.T036_SEQ_ITEM_IU;
myData2[indicemyData2][1] = jsonResults.T036_PRODUTO_E;
myData2[indicemyData2][2] = nomeproduto;
myData2[indicemyData2][3] = jsonResults.T036_QUANTIDADE;
myData2[indicemyData2][4] = jsonResults.T036_PRECO_UNITARIO;
myData2[indicemyData2][5] = jsonResults.T036_PERC_DESCONTO;
myData2[indicemyData2][6] = jsonResults.T036_TOTAL_DESCONTO;
myData2[indicemyData2][7] = passapraMoeda(s);
myData2[indicemyData2][8] = jsonResults.T036_DEPOSITO;
myData2[indicemyData2][9] = jsonResults.T036_CFO_E;
myData2[indicemyData2][10] = jsonResults.T036_ATENDIDO;
grid2.setHeaderText(MeuHeader2); grid2.setColumnWidth([150,150,150,150,150,150,150,150,150,150,150]);
grid2.setCellData(myData2);

grid2.setCellImage(function(col, row) {
if (myData2[row][10] == 2)
return "stop"
else
return "accept"
});
grid2.setCellTemplate(new AW.Templates.ImageText, 10);

grid2.setColumnCount(11);
grid2.setRowCount(RowCount2);
grid2.refresh();
Lourival Queiroz
September 26,

This topic is archived.

See also:


Back to support forum