Remote data source resource dataTextField binding

2 posts, 0 answers
  1. Colin
    Colin avatar
    1 posts
    Member since:
    Mar 2016

    Posted 01 Mar Link to this post

    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: {
                    read: function (e) {
                        .then(function (result) {
                schema: {
                    model: {
                        id: "EquipmentModel",
                        fields: {
                            value: {from: "unit_number"},
                            //unit_number: {from: "unit_number"}

  2. Vladimir Iliev
    Vladimir Iliev avatar
    2156 posts

    Posted 03 Mar Link to this post

    Hello Colin,

    I tried to reproduce the problem locally but to no avail – everything is working as expected on our side. Could you please provide runable demo where the issue is reproduced? This would help us pinpoint the exact reason for this behavior.

    Vladimir Iliev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top