Customizing the edit button to show a delete button in jqGrid row on click

809 Views Asked by At

I need to customize the "Edit" icon on jqGrid row such that on click there are three icons displaying for that particular row "Save", "Cancel", and "Undo". How can this be achieved. Please suggest.

1

There are 1 best solutions below

2
On

The solution could be simple if you use free jqGrid fork of jqGrid (which I develop since the end of 2014), which supports actionsNavOptions parameter where one can specify custom icons. The wiki article describes the feature and the demo demonstrates the usage. Another demo, created for the answer shows more advanced features of custom action buttons.

If you can't update fo free jqGrid 4.13.6, than you can follow the instruction from my old answer, which is much more tricky.