santafechic
santafechic

Reputation: 1

Creating a custom 'actions' formatter - jqgrid

I'm wondering if I can add a custom "actions" formatter with my own custom image. What I want to accomplish is to have a hyperlinked image on each row so that when the user clicks it a dialog opens up with further options.

Is there any way to do this?

Thanks!

Upvotes: 0

Views: 4087

Answers (1)

Oleg
Oleg

Reputation: 221997

It's do possible. I described the corresponding solutions including working demos in the answer and in this one. You can define any action in the click event handler. For example you can open some dialog.

If you need just add column with the image you can follow the approch described here. In the case you can use onCellSelect or beforeSelectRow callbacks to implement your custom onClick handler.

Upvotes: 1

Related Questions