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

Using defineName func having the tag name using a . adds quotes around the objects key

3 Answers 104 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Software
Top achievements
Rank 1
Software asked on 16 Feb 2021, 02:42 PM

Issue: When using defineName() having the tag name using a . adds quotes around the objects key

Image with defineName demo: image01

Required behaviour. Need to convert . to * for example: dog.text_text should be dog*text_text, or when passing this value dog.text_text the objects key dog"."text_text should not be wrapped in quotes.

 

another image02 is shown how the object key should be shown using the browsers console

Also error message just says invalid name : {name} and has no useful information to figure out the issue

3 Answers, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 18 Feb 2021, 12:13 PM

Hi,

I am afraid that currently setting a name that includes a dot when using the defineName() is not supported in the Spreadsheet and should be considered as a limitation. We will update the respective Known Limitations section describing the limitation.

Let me know in case you have additional questions on the matter.

Regards,
Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Software
Top achievements
Rank 1
answered on 19 Feb 2021, 01:51 PM

Hi Neli,

Can you provide list of allowed characters that we can use in defineName() to create a tag and also list of special chracters which are not allowed ? This can help us to solve our issue. 

0
Neli
Telerik team
answered on 23 Feb 2021, 01:47 PM

Hi,

The described behavior is expected with any JavaScript special character. For example, the behavior will be the same also with the following characters, : ; ! = \ | > < & @ or empty string

Regards,


Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Spreadsheet
Asked by
Software
Top achievements
Rank 1
Answers by
Neli
Telerik team
Software
Top achievements
Rank 1
Share this question
or