Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding link to values #158

Open
dividedbyzero323 opened this issue Nov 21, 2022 · 0 comments
Open

Adding link to values #158

dividedbyzero323 opened this issue Nov 21, 2022 · 0 comments

Comments

@dividedbyzero323
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant