repeatGrid.attachTextDataSeries examples?


#1

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

attachTextDataSeries API documentation


#2

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.


#3

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


#4

Always very glad to help!