Could you help me, please to show domain in dgrid, this is functionally in infowindow but in grid puts the code, not the description.of domain.
var outFieldsProy = ["PROYECTO", "NOMBRE", "ESC250", "AERONAVE"]
var gridProy = new (declare([Grid, Selection,ColumnHider, ColumnReorder, ColumnResizer]))({
bufferRows : Infinity,
columns : {
PROYECTO : "Proyecto",
NOMBRE : "Nombre",
ESC250 : "Escala 250",
AERONAVE : "Aeronave"
}
}, "divGrid");
function populateGrid(results) {
// var gridData;
dataQuakes = arrayUtils.map(results.features, function (feature) {
return {
"PROYECTO": feature.attributes[outFieldsProy[0]],
"NOMBRE": feature.attributes[outFieldsProy[1]],
"ESC250": feature.attributes[outFieldsProy[2]],
"AERONAVE": feature.attributes[outFieldsProy[3]]
};
});
var memStore = new Memory({
data: dataQuakes
});
gridProy.set("store", memStore)
}
Thanks