Help me fix this code that was runing perfect two days ago. I don't have idea what i've chanched, but now, the grid is just empty, can you get me some help? Please.
$("#grid").kendoGrid({
sortable: true,
groupable: true,
scrollable: true,
height: "300px",
pageable: {
pageSizes: 9
},
dataSource: {
transport: {
read: {
url: "http://localhost/pharmacypoints/api/Productos/getSinFiltro",
dataType: "Json"
}
}
},
Columns: [
{ field: "Codigo",
tittle: "Codigo"
},
{ field: "Descripcion",
tittle: "Descripcion"
},
{ field: "Familia",
tittle: "Familia"
},
{ field: "Laboratorio",
title: "Laboratorio"
},
{ field: "Clasificacion",
tittle: "Clasificacion"
}]
});
The database result is like this:
[{"Codigo":"6140","Producto":"CIPROXINA FA 200ML 400MG","Familia":"ANTIBIOTICO 10","Clasificacion":"CONTROLADOS","Laboratorio":"BAYER DE MEXICO, SA DE CV"}, and more objects