TIWDBAdvWebGrid and clic on a row...

Hello,

I'm using a TIWDBAdvWebGrid.
I would like that when I click on a cell or a row, the dataset goes on that record.
I try to place in events of the TIWDBAdvWebGrid code like this one :
   with TIWDBAdvWebGrid do
        Mydataset.recno := (RowOffset * RowCount) + Row;
But it doesn't works...
How to update the dataset cursor position when clicking on a row or a cell, please ?

With best regards,
Herv?
I've place this code :

procedure TIWForm_PRAM_ADR.TIWDBAdvWebGrid1CellClick(Sender: TObject; RowIndex,
  ColumnIndex: Integer);
begin
     with TIWDBAdvWebGrid1 do
     begin
        TIWDBAdvWebGrid1.DataSource.DataSet.RecNo :=(RowCount * page) + RowIndex+1;
     end;
end;

And it seem's to works…

With best regards,
Hervé