The following example shows how to get the Custom element DataTable's HTML, add it to a new browser window and trigger printing.
First Name
Last Name
Product
Ship Date
Quantity
Price
CherylDevlingGreen Tea11/4/201611$1.50
MayumiDavolioDoubleshot Espresso11/3/20166$3.30
MayumiPetersenCaramel Latte10/20/20162$3.80
YoshiBurkeEspresso Truffle8/6/201611$1.75
PeterFullerBlack Tea9/16/201611$2.25
ShelleyNagaseBlack Tea4/13/20164$2.25
GuyleneOhnoCappuccino2/20/20165$5.00
GuyleneRossiCappuccino10/6/20169$5.00
CherylDevlingCaramel Latte9/23/20164$3.80
PeterBeinBlack Tea8/14/20162$2.25
Print