Print table data

Hello Collages

Someone could help me to know how to print table data on my default printer?

Thanks in advance

https://docs.inductiveautomation.com/display/DOC79/Power+Table
Scroll down to the print function.

1 Like

Hello MMaynardUSG

Thanks for your answer, could you give me a example how to built a script to print table data.

What have you tried?

1 Like

Sure…
Put a button on the window with the table, then in the action performed put something like

t = event.source.parent.getComponent('Power Table')
t.print(fitWidth=1,showDialog=1)
1 Like

MMaynardUSG solved me question, thanks,

I already had tried that but not with parent word, thanks in advance for your support now I can print the information