Again, I can't seem to figure out how to solve this easy.
Let's say we want to create a custom feature, and enable this on the grid. How can we achieve this in a simple manner? You don't have any simple sample where this is achieved? Only need a button, which is supposed to trigger some action serverside. I've tried to get my head around the grouping code, but it's so much magic happening that i'm only getting confused

I managed to get a working code now, but I have a little problem. When I enable this feature on the grid, and also enable grouping, only grouping items is visible in the menu. If i disable grouping, my menuitem is correctly shown. Any idea why it's overwriting the other feature? My guess is that it's something wrong with the inject method, but I can't seem to figure out what.