repeatGrid.attachTextDataSeries examples?

Hi, is there any place I can find an example or two on how to use the
repeatGrid.attachTextDataSeries(textNode, textValues)
?

attachTextDataSeries API documentation

This is a piece of code I’ve used in a plugin (assuming you have selected a text node inside a repeat grid):

let repeatGrid = selection.items[0].parent.parent;
let selectedTextNode = selection.items[0];
repeatGrid.attachTextDataSeries(selectedTextNode, stringsArray);

hope it helps.

2 Likes

Worked like a charm @PaoloBiagini ! Thank you sooo much :smile:

Always very glad to help!