Onlick event for child table field

In Item doctype get child table “Product Group Table” in that options field when click on option field then get all values of that row.