Skip to content

Adding link to values #158

Open
Open

Description

@dividedbyzero323

I want to add link to specific column to my array. My json array is
[
{
"TaskID": "161114683317",
"Client": "Test"
},
{
"TaskID": "161114683317",
"Client": "Test"
}
]

If I try adding a tag while creating array like this:
"TaskID": "<a href='http://localhost:3000/task_details/NDM0NzY='>161114683317</a>"

it doesn't render html this print as it received from response.

This is my config for pivot
const pivotPresets = {
rendererName,
aggregatorName,
plotlyOptions: {width: 900, height: 500},
plotlyConfig: {},
rendererOptions: {
}
}
And UI
<PivotTableUI
data={data} onChange={(s) => {
setPivotTableUIConfig(s)
setdata(s)
}} unusedOrientationCutoff={Infinity} {...pivotPresets} renderers={Object.assign({}, TableRenderers, PlotlyRenderers)} {...pivotTableUIConfig} />

Please help what I am missing in this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions