Currently setting up a remote data source for resources. If I bind the same server side field for sorting as for the field I use for the dataTextField, I get an undefined label. If I have no "value" field then the labels reappear properly.
I can work on a Dojo example if needed.
I am using AngularJS with restangular for routing in the transport section.
resources: [
{
name: "Equipment Number",
field: "unit_number",
dataTextField: "unit_number",
title: "Equipment Number",
dataSource: {
transport:{
read: function (e) {
dispatchFactory.equipment("read")
.then(function (result) {
console.log(result.data);
e.success(result.data);
});
}
},
schema: {
model: {
id: "EquipmentModel",
fields: {
value: {from: "unit_number"},
//unit_number: {from: "unit_number"}
}
}
}
}
}
]