0

I am using JQGrid for PHP.

See homepage here

I have added Edit and Delete to a column like this:

$g->set_actions(array(  
    "add"=>false, // allow/disallow add
    "edit"=>true, // allow/disallow edit
    "delete"=>true, // allow/disallow delete
    "rowactions"=>true, // show/hide row wise edit/del/save option
    "autofilter" => true, // show/hide autofilter for search
) 
);

It works well and does what it should but the Edit and Delete links are in text and I need to replace the text with images but don't know what/where I need to change this.

Satch3000
  • 47,356
  • 86
  • 216
  • 346

1 Answers1

1

You will need to define your own formatter for the cells. See this example.

This page demonstrates using a predefined formatter, which would be another option, depending on your needs.

Cavyn VonDeylen
  • 4,189
  • 9
  • 37
  • 52