Sélection d'une ligne dans un widget "Table"

hi ,
i have a table of 10 rows *10 columns populated from a database
i want to select a row from a table and get the data from this row .
i have looked into this http://community.bonitasoft.com/groups/french-corner/resolved-sélection-dune-ligne-dans-un-widget-table

they said that i can use a javascript code, can someone be more explicit ?
thank you