New topic Closed topic
avatar image
1
custom model, labels
By Created , last editted

Hi,


I am using a bettyblocks api to get data and push this into pivotUI (https://pivottable.js.org/examples/). But when I use the standard bettyblocks api I get a response with the application codes as labels. Like this:

[{"bde9c30e39f346d6a7349796d443326f":{"value":"45A46"},"id":2666,"b89dc798c4334d0e8d99432ade49c4d1":{},"5c9e356750394a90a90c4e170716614a":{"value":"45A"},"edab54a7eb63478f8b3acdb8af718f17":{"value":"€ 300,00"},"c99a709b1b4849acbd43...

Because PivotUI uses the label to show rows and columns, I would like to change these names. So  bde9c30e39f346d6a7349796d443326f would be called "ProductCode". I have tried changing the names in the custom model, but that doesn't seem to work. Anyone with experience with this issue?


Kind regards,


Corné


Hi,


I am using a bettyblocks api to get data and push this into pivotUI (https://pivottable.js.org/examples/). But when I use the standard bettyblocks api I get a response with the application codes as labels. Like this:

[{"bde9c30e39f346d6a7349796d443326f":{"value":"45A46"},"id":2666,"b89dc798c4334d0e8d99432ade49c4d1":{},"5c9e356750394a90a90c4e170716614a":{"value":"45A"},"edab54a7eb63478f8b3acdb8af718f17":{"value":"€ 300,00"},"c99a709b1b4849acbd43...

Because PivotUI uses the label to show rows and columns, I would like to change these names. So  bde9c30e39f346d6a7349796d443326f would be called "ProductCode". I have tried changing the names in the custom model, but that doesn't seem to work. Anyone with experience with this issue?


Kind regards,


Corné

Answers
Sort by:

This topic is closed.