[Solved] RadSyntaxEditor does not collapse a list in a JSON properly

1 Answer 11 Views
SyntaxEditor
Christoph
Top achievements
Rank 1
Christoph asked on 13 Oct 2026, 08:23 AM
Problem

When I have some JSON, e.g.
{
  "application": "Test JSON",
  "version": "1.2.3",
  "settings": {
    "theme": "dark",
    "debugMode": false
  },
  "users": [
    {
      "id": 1,
      "name": "Joe",
      "LotOfData": [
        "Lorem ipsum",
        "more lorem",
        "etc."
      ]
    },
    {
      "id": 2,
      "name": "Donald",
      "LotOfData": [
        "Same lorem",
        "more lorem impsum",
        "etc."
      ]
    }
  ]
}

and I then collapse users, I expect all its children to be hidden.
For example in Visual Studio Code it would then look like this:



However, the SyntaxEditor still shows the last item in the list, when you click on the - button:

This can be a bit confusing, when said item contains a lot of data.

This seems to happen when both { } and [ ] are used or maybe because they are nested.

Maybe related problem
In addition, the - buttons seem to be one line 'too high up':


(Should probably be on the same line as the opening { character)

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 14 Oct 2026, 08:37 AM

Hi, Christoph,

I already replied to you in the other thread that you opened on the same topic. See ticket ID: 1719679 in your account for further details. 

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Modernizing a WinForms application? Use the AI-powered WinForms Converter to simplify migration to Telerik UI for WinForms.
Tags
SyntaxEditor
Asked by
Christoph
Top achievements
Rank 1
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or