diff --git a/src/TableColumn/Delete.php b/src/TableColumn/Delete.php
index <HASH>..<HASH> 100644
--- a/src/TableColumn/Delete.php
+++ b/src/TableColumn/Delete.php
@@ -20,15 +20,16 @@ class Delete extends Generic
             $this->table->app->terminate($reload->renderJSON());
         });
 
+    }
+
+    public function getDataCellTemplate(\atk4\data\Field $f = null)
+    {
         $this->table->on('click', 'a.'.$this->short_name)->atkAjaxec([
             'uri'         => $this->vp->getURL(),
             'uri_options' => [$this->name => $this->table->jsRow()->data('id')],
             'confirm'     => (new \atk4\ui\jQuery())->attr('title'),
         ]);
-    }
 
-    public function getDataCellTemplate(\atk4\data\Field $f = null)
-    {
         return $this->app->getTag(
             'a',
             ['href' => '#', 'title' => 'Delete {$'.$this->table->model->title_field.'}?', 'class' => $this->short_name],
perform on execution later, as it relies on table's url()