niftygrid use select box to pass variables to presenter

Notice: This thread is very old.
Member | 10

Hi every one,
I am using NiftyGrid (…)
and I have some problem to get the variables which correspond to the line ticked.
I am using this piece of code for that.


    ->setCallback(function($id) use ($self){return $self->handleDelete($id);})
    ->setConfirmationDialog("Určitě chcete smazat všechny vybrané članky?");


But I do not understand how to redirect the variable $id which contain my variables to a method handle inside my presenter.

Thanks in advance for your help