Skip to content

JSON field not formatted when column hidden #94

@bkonia

Description

@bkonia

One of the fields in my log file contains JSON data and I've set it to format as JSON using the following column definition:

(line: Message): CellHandler => {
    return {
        text: line.json_content['Data'],
        isJson: true
    }
}

When the Data column is visible in the table and I open a line in the drawer, the field is displayed properly indented in JSON format. However, if I hide the column in the table and then re-open the drawer, the field is displayed in the "Non-table fields" section as plain text, all in a single line with no formatting.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions