Home › Forums › Guriddo jqGrid JS › Help › formatter:’showlink’ or ‘link’ to open new window based on retrieved DB ID
First off. Excellent grid.
I have used the ExtJS grid with a ton of sleepless nights, so KUDOs, Tony.
My latest project I have decided to go the jQuery way.
I have solved my own problem. But I have another issue that may be a newbie problem.
When using 'showlink' in the above example, the href link that is created for the link in the column is followed by 'viewAppFile.php?id='
I wish to change the 'id' to 'applicationId' how do I do this?
Thanks.
JohnM
Hello,
Download the latest version 3.5 alfa 3 from GitHub.
in format options add formatoptions: { idName:'MyIDName'…}
in order to add your custom id name.
Regards
Tony
Thanks for the reply.
I had already updated to the latest version to solve a previous issue.
I went into fmatter.js to solve this problem.
I hope you don't mind, I changed it to meet our needs.
Consider the problem closed.
Hi John, How did you solve the issue to open it in a new window? Thanks! jmcleod3 said: First off. Excellent grid. I have used the ExtJS grid with a ton of sleepless nights, so KUDOs, Tony. My latest project I have decided to go the jQuery way.
Hi John,
How did you solve the issue to open it in a new window?
Thanks!
jmcleod3 said:
I do not see anything wrong here. What does not work? What is shown when the grid is generated and and you mouse over the link?
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS