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

Special character problem

2 Answers 856 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Charles
Top achievements
Rank 1
Charles asked on 01 Oct 2018, 12:26 PM

I'm having problems with certain special characters in my use of the Gird.

The grid doesn't seem to like strings in the header (maybe elsewhere) that have parentheses ( ) or square brackets [ ]

I can't give specific content, but suffice it to say a column header like this: Header(XYZ) will break Kendo.js.  Changing to square brackets does the same.

 

It this a problem with headers or will parens kack the the grid no matter where they're found?

 

I'm hoping that there may be a way out of this that won't require reengineering the client's data source or having to search and replace files (some will have 100s of 1000s of lines).

 

I don't have the exact error message at the moment but will post it when I do, if needed.

 

Any help would be appreciated.

 

 

 

 

2 Answers, 1 is accepted

Sort by
0
Charles
Top achievements
Rank 1
answered on 01 Oct 2018, 12:42 PM

here is a screen shot of the error we're getting.

 

"RB"  would be in the case of something like HeaderName(RB)

 

I can't provide sample data or source code.

0
Viktor Tachev
Telerik team
answered on 03 Oct 2018, 09:28 AM
Hello Charles,

I tried to replicate the described behavior, however, I was not able to. You can see the sample I used for testing in the dojo below. Give it a try and let me know if I am missing something.


If would be great if you can modify the sample in a way that the issue is replicated and send it back. This will enable us to examine the behavior locally and look for its cause.


Regards,
Viktor Tachev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Charles
Top achievements
Rank 1
Answers by
Charles
Top achievements
Rank 1
Viktor Tachev
Telerik team
Share this question
or