grid´s horizontal scroll problem
Hello, I have a problem with my grid.
When I do more big the width of a colum, the horizontral scroll bar appears (this is ok),but the content of the grid remains in white.
I have tried to change Virtual Mode (true/false), but it seems not to work.
This one is a part of my code:
var DGridClientes = new AW.UI.Grid;
DGridClientes.setId("DGridClientes");
var tablaClientes = new AW.XML.Table;
var tablaClientesAsync = new AW.XML.Table;
var ssql="Select " + QuitarNulos("ZTECClientes.CodCli","''") + ", ";
ssql+=QuitarNulos("ZTECClientes.NomCli","''") + ", ";
ssql+=QuitarNulos("ZTECClientes.Telf","''") + " ";
ssql+="from ZTECClientes order by ZTECClientes.CodCli";
CrearTabla(tablaClientes, ssql, "Clientes", 0);
CrearTabla(tablaClientesAsync, ssql, "ClientesAsync", 1);
var ColDGridClientesCodigo =0;
var ColDGridClientesNombreCliente = 1;
var ColDGridClientesTelefono = 2;
DGridClientes.setCellModel(tablaClientes);
DGridClientes.setColumnCount(3);
DGridClientes.setHeaderText(["Código", "Nombre Cliente", "Teléfono"]);
DGridClientes.setColumnIndices([ColDGridClientesCodigo, ColDGridClientesNombreCliente, ColDGridClientesTelefono]);
DGridClientes.setSelectorVisible(false);
DGridClientes.setVirtualMode(false);
When I do more big the width of a colum, the horizontral scroll bar appears (this is ok),but the content of the grid remains in white.
I have tried to change Virtual Mode (true/false), but it seems not to work.
This one is a part of my code:
var DGridClientes = new AW.UI.Grid;
DGridClientes.setId("DGridClientes");
var tablaClientes = new AW.XML.Table;
var tablaClientesAsync = new AW.XML.Table;
var ssql="Select " + QuitarNulos("ZTECClientes.CodCli","''") + ", ";
ssql+=QuitarNulos("ZTECClientes.NomCli","''") + ", ";
ssql+=QuitarNulos("ZTECClientes.Telf","''") + " ";
ssql+="from ZTECClientes order by ZTECClientes.CodCli";
CrearTabla(tablaClientes, ssql, "Clientes", 0);
CrearTabla(tablaClientesAsync, ssql, "ClientesAsync", 1);
var ColDGridClientesCodigo =0;
var ColDGridClientesNombreCliente = 1;
var ColDGridClientesTelefono = 2;
DGridClientes.setCellModel(tablaClientes);
DGridClientes.setColumnCount(3);
DGridClientes.setHeaderText(["Código", "Nombre Cliente", "Teléfono"]);
DGridClientes.setColumnIndices([ColDGridClientesCodigo, ColDGridClientesNombreCliente, ColDGridClientesTelefono]);
DGridClientes.setSelectorVisible(false);
DGridClientes.setVirtualMode(false);
TECNORA
May 12,