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} />
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.