Seek value in the row in the DataS

TIWDBAdvWebGrid seek value in the row in the DataSet

Added a picture in a column in the grid and I want to click this image to get a value that is on the line. How do I do this?

The image I inserinho the value of the column in html.

I set up colunmType = ctLink
I set up DataButtonType = dbImage

I am using the event LinkClick the grid to take the value of the DataSet, but the value is always the first line.

I decided the topic this way:

procedure TfrmGridTabelas.IWGridTabelasAsyncLinkClick(Sender: TObject;
  EventParams: TStringList; RowIndex, ColumnIndex: Integer);
var KeyValue: integer;

  KeyValue := IWGridTabelas.DataSource.DataSet.FieldByName('ID_TABELAS').Value ;


There is one more practice? or Right?

This solution is correct.
As the LinkClick does not change the active row in the IWAdvWebGrid or the DataSet, you can manually get the required value by using the RowIndex parameter.