I'm using a template to get a button into my grid toolbar since my atempt to write it analog to teh treelist doesn't work. But I can't access the click event. I want to open a custom create-dialog for grid items.
For the treelist i use something like this:
Since this doesn't seem to work I tried this but can't access the click-event: