How do I detect a cell click?

Correct. Each row has a different value for SignalID, so SignalID will be a parameter of the query.