> what i want is when i click on one of these cell then the whole row is > selected. Try adding this event handler to the end of your MyTestWindow#initialize method: @table.connect(SEL_COMMAND) do |sender, sel, tablePos| @table.setAnchorItem(@table.currentRow, 0) @table.extendSelection(@table.currentRow, @table.numCols-1, true) end This says, "when the table fires its SEL_COMMAND message, I want to set the anchor position for the selection to the first (zeroth) column of the current row and then extend that selection to the last column of the current row". Note that by the time the SEL_COMMAND message is sent, the current position has already been updated to whereever it is that you clicked. Hope this helps, Lyle