This is a migrated thread and some comments may be shown as answers.

Data Not Showing

2 Answers 94 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Ed asked on 12 Jun 2018, 06:40 PM

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 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 14 Jun 2018, 08:06 AM
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.
0
Ed
Top achievements
Rank 1
answered on 20 Jul 2018, 03:14 AM
LOL.  Need to get my old man glasses out.  Thanks!
Tags
Grid
Asked by
Ed
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Ed
Top achievements
Rank 1
Share this question
or