Home › Forums › Guriddo jqGrid JS › Help › Please help with link columns
Hi dudes,
i read some topics on this forum but i can found a good explanation to my problem.
I have:
colModel:[
Thx you Vencedor for ur help but im getting constantly the following error at firebug:
invalid property id
This is my code line:
{name:'oferta',index:'oferta', width:65, formatter: 'link', showlink:{'index.php?option=index&id=',showAction: 'show'}, …..
Thx you in advance
Hello,
{name:'oferta',index:'oferta', width:65, formatter: 'showLink', formatoptions:{baseLinkUrl: 'index.php', addParam : '&option=index'}},
The id is added automaticallyat first place
Regards
Tony
Hi tony,
your example works fine but i get this link:
/index.phpshow?id=21&option=index
why show word appear?
Thxs again!
There is default value for showAction in the language file. (This value will be removed in next release).
In order to work all do :
{name:'oferta',index:'oferta', width:65, formatter: 'showLink', formatoptions:{showAction:'', baseLinkUrl: 'index.php', addParam : '&option=index'}},
I am unable to set params to my links
{name='id',formatter:'showLink',formatoptions:{baseLinkUrl:'Display.jsp'}}
how I can send params along with this url
Please help me
Thanks,
@Bandlamudi
Static or dynamic from the row contents? If second is the case currently this is not possible. For the first see the post above.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS