GRID-Fields with null value
hello
I have a problem with Grid control. For fields with NULL value, aw skips the cell, resulting in data shifting to the left, and I need that this fields appear in to the grid
How can I convert this null-fields in not-null-field,
var DGridDatos = new AW.UI.Grid;
DGridDatos.setId("DGridDatos");
var tablaDatos = new AW.XML.Table;
tablaDatos.setURL("webservice.asmx/construyeDataSetGenerico");
var ssql="...."; //here is the SELECT sentence
tablaDatos.setParameter("Consulta", ssql);
tablaDatos.setParameter("Conexion", Conexion);
tablaDatos.setParameter("NombreTabla", "Datos");
tablaDatos.setRequestMethod("POST");
tablaDatos.setRows("//NewDataSet/*");
tablaDatos.request();
DGridDatos.setCellModel(tablaDatos);
DGridDatos.setColumnCount(9);
DGridDatos.setHeaderText(["Código","Proyecto","Nom.Cliente","V.Sol","Fecha","Status","Prioridad","Tipo","Responsable"]);
DGridDatos.setColumnIndices([0,1,2,3,4,5,6,7,8]);
DGridDatos.setCellTemplate(new AW.Templates.Checkbox, 0);
I have a problem with Grid control. For fields with NULL value, aw skips the cell, resulting in data shifting to the left, and I need that this fields appear in to the grid
How can I convert this null-fields in not-null-field,
var DGridDatos = new AW.UI.Grid;
DGridDatos.setId("DGridDatos");
var tablaDatos = new AW.XML.Table;
tablaDatos.setURL("webservice.asmx/construyeDataSetGenerico");
var ssql="...."; //here is the SELECT sentence
tablaDatos.setParameter("Consulta", ssql);
tablaDatos.setParameter("Conexion", Conexion);
tablaDatos.setParameter("NombreTabla", "Datos");
tablaDatos.setRequestMethod("POST");
tablaDatos.setRows("//NewDataSet/*");
tablaDatos.request();
DGridDatos.setCellModel(tablaDatos);
DGridDatos.setColumnCount(9);
DGridDatos.setHeaderText(["Código","Proyecto","Nom.Cliente","V.Sol","Fecha","Status","Prioridad","Tipo","Responsable"]);
DGridDatos.setColumnIndices([0,1,2,3,4,5,6,7,8]);
DGridDatos.setCellTemplate(new AW.Templates.Checkbox, 0);
TECNORA
April 14,