On Anchor Click in DBADVGrid

This is a duplicate. I realized I intitally posted this in the wrong category.

If I use the anchor HTML tag in the HTMLtemplate in a column, it displays and works just fine. The only issue I have is that if the user clicks the anchor, it does not move the underlying record to the corresponding field before triggering the OnAnchorClick event. So the user has to first select the row, then click on the HTML link. Is there a way around this in the settings?

You could use grid.Row := ARow from this event handler to move to the underlying record.

That works perfectly. Thanks