Problem reading data from list

Please help me build the appropriate command so that I can read the field from the second column in the selected row
image

Please refer, Datasets - Ignition User Manual 8.0 - Ignition Documentation

print yourDataset.getValueAt( selectedrowindex , "yourcolumnHeading" )


Thank you, where is the error?

Line no-2: Get Dataset Property of Table
line no- 3: Remove print

sorry i dont understand
is it {Root Container.Table.data} ?

yess

image

The code should be:

project.cmms.upd_to_CMMS()
table_data = event.source.parent.getComponent("Table").data
nr_machine = table_data.getValueAt(1,1)
system.tag.write("[Client]nr_machine_CMMS",nr_machine)

Thx - work