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

Observing issus when the column name consists of only numbers

1 Answer 234 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Avneesh
Top achievements
Rank 1
Avneesh asked on 17 May 2020, 10:47 AM

Fiddle: https://jsfiddle.net/avnsri4986/e7nfrj9h/3/

 

Stack Trace: 

Uncaught SyntaxError: Unexpected number
    at Function (<anonymous>)
    at getter (kendo.all.js:2127)
    at Object.<anonymous> (kendo.all.js:6550)
    at each (jquery.min.js:2)
    at new init (kendo.all.js:6537)
    at new init (kendo.all.js:6888)
    at Function.de.create (kendo.all.js:9179)
    at init._dataSource (kendo.all.js:67457)
    at new init (kendo.all.js:63291)
    at HTMLDivElement.<anonymous> (kendo.all.js:2517)

1 Answer, 1 is accepted

Sort by
0
Silviya Stoyanova
Telerik team
answered on 19 May 2020, 01:27 PM

Hello Avneesh,

Thank you for the provided snippet!

The field name should be a valid Javascript identifier and should contain only alphanumeric characters (or "$" or "_"), and may not start with a digit.

You could also refer to the following forum thread:

 

Kind Regards,
Silviya Stoyanova
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Grid
Asked by
Avneesh
Top achievements
Rank 1
Answers by
Silviya Stoyanova
Telerik team
Share this question
or