Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

html link column in jqGrid

Tags:

jquery

jqgrid

Is it possible have a html link in a column with jqGrid, I can't find any example in the documentation?

like image 882
Danny Avatar asked Jul 22 '09 15:07

Danny


1 Answers

Here's the sample colModel configuration from Craig's link to jqGrid formatting help. It specifies the formatter as showLink and the url and params are specified with formatoptions.

colModel: [ {name:'myname',               edittype:'select',               formatter:'showlink',               formatoptions:{baseLinkUrl:'someurl.php', addParam: '&action=edit'} 
like image 86
Randy Klingelheber Avatar answered Sep 24 '22 19:09

Randy Klingelheber