Identify Rowindex from grid button click on TT

Delphi 10 Seattle Version 23.0.20618.2753 
Intraweb 14.1.14
TMS Pro Pack

How do I get the Rowindex for a TTIWADVWebgrid after user clicks on a cell where the column type = ctButton.

I am using the GridAsyncButtonClick event which only has the Acolumn identifier. how can I get the Rowindex?

I tried to set the active row but the activerow always defaults to the first row in the grid.


The GridAsyncButtonClick has a rowindex parameter. I used that to see the selected row.