saludos, estoy realizando este proyecto: al momento de que seleccione una o mas celdas, se imprima la información de la misma
If you have the reporting module, I would create a report that receives it’s data from a parameter. Then with an action performed script on a button you would executeAndDistribute()
the report passing the selected data in.
table = event.source.parent.getComponent('Power Table')
rows = table.getSelectedRows()
if rows:
dataIn = system.dataset.toPyDataSet(table.data)
headers = list(table.data.getColumnNames())
dataOut = []
for i,row in enumerate(dataIn):
if i in rows:
dataOut.append(row)
printData = system.dataset.toDataSet(headers,dataOut)
# pass printData to report and print using system.report.executeAndDistribute()