Data Not Showing

3 posts, 0 answers
  1. Ed
    Ed avatar
    3 posts
    Member since:
    Mar 2018

    Posted 12 Jun 2018 Link to this post

    I have created a dojo example that I just can't seem to get to work correctly. Grid with two rows of numbers

    It creates the grid correctly but does not show the rows.  What am I doing wrong?

  2. Georgi
    Admin
    Georgi avatar
    685 posts

    Posted 14 Jun 2018 Link to this post

    Hi Ed,

    Thanks for the provided sample.

    I have investigated it and noticed that dataSource property of the grid is specified as datasource (lowercase `s`). Therefore the dataSource configuration is not applied.

    e.g.

    dataSource: {
        data: dataset,
        schema: {
            model: {
                fields: {
          PGDMapId: {type: "number"},
          CategoryId: { type: "number"},
          OptionId: {type: "number"},
          GatheringItemId: {type: "number"},
          PartItemId: {type: "number"},
          OperationSequenceId: {type: "number"},
          WorkCenterId: {type: "number"},
          FunctionCodeId: {type: "number"}
    }
            }
        }
    },

    Below you will find a modified version of the provided sample:



    Regards,
    Georgi
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Ed
    Ed avatar
    3 posts
    Member since:
    Mar 2018

    Posted 19 Jul 2018 in reply to Georgi Link to this post

    LOL.  Need to get my old man glasses out.  Thanks!
Back to Top