Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






jqGrid table with multiple baselinkurl

No Tags
UserPost

10:14
29/04/2012


jack.doe77

Member

posts 8

Hi All,

I need to show more than 1 link in the table. I was able to show one link successfully, but for the second one i stuck with the same key.

Here's my code :

{name:'custID', key: true, index:'custID', editable:true, editrules:{required:true}, formatter:'showlink', formatoptions:{baseLinkUrl:CI.base_url + 'customer/detail'}, formoptions:{elmsuffix:'(*)'}, width:100},

{name:'empID', index:'empID', editable:true, editrules:{required:true}, formatter:'showlink', formatoptions:{baseLinkUrl:CI.base_url + 'employee/detail'}, formoptions:{elmsuffix:'(*)'}, width:100},

As you can see, I want to show list of customers handled by employee. Since the key is custID, the parameter for employee's link show custID to instead empID.

Is there anyway to work around for this ?
Thanks.

No Tags

About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

Lonewolf217

54 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9595

Posts: 28789

Membership:

There are 10185 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1157

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7009 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information