When a row or cell of a grid widget is clicked, it is sent a click[] event with the active row as an argument. See Events in the Decker reference manual.
on click row do if row~0 alert["you clicked the first one"] elseif row~1 alert["you clicked the second one"] else alert["you clicked something else"] end end