Last Updated: 05 May 2022 11:28 by ADMIN
Created on: 04 May 2022 15:01
Category: Grid
Type: Bug Report
Bug Found In jQuery Grid Template


I've found a bug in the jQuery template code for Kendo Grids. Seems that it directly injects the name of a field from the data source results under the assumption that the field name is a valid JavaScript identifier (i.e. data.someIdenifier). But when the data source results contain a field name that is a number (as in my case), this results in invalid JavaScript (i.e. data.1234) and causes the Kendo Grid code to error. I notice that in some places in the template code, indexing is used instead of member access (data['someIdentifier'] instead of data.someIdentifier), but not everywhere. I'd recommend using indexing every where to fix this (i.e. data[1234]).

1 comment
Angel Petrov
Posted on: 05 May 2022 11:28

Hi Joseph,

Indeed, this is something we can fix. I have already logged the issue and you can monitor our progress on the matter from here. As a token of grattitude for reporting this to us I have updated your account points.

Angel Petrov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.