niftygrid use select box to pass variables to presenter

Notice: This thread is very old.
kevchal
Member | 10
+
0
-

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

<?php

$this->addAction("delete","Smazat")
    ->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